three.js error and warning messages
Each page takes one message three.js r186 or one of its addons prints in the browser console, quotes the source line that prints it and the condition around it, and shows the fix on a page that ran in the harness. The messages were chosen by what people ask about: every page links the threads where the message was asked, with their view counts on the day the page was written.
- THREE.Audio: Audio is already playing.
- THREE.WebGLAttributes: The size of the buffer attribute's array buffer does not match the original size. Resizing buffer attributes is not supported.
- THREE.WebGLRenderer.render: camera is not an instance of THREE.Camera.
- THREE.WebGLProgram: Can not resolve #include <encodings_fragment>
- THREE.Clock: This module has been deprecated. Please use THREE.Timer instead.
- THREE.BufferGeometry.computeBoundingSphere(): Computed radius is NaN. The "position" attribute is likely to have NaN values.
- THREE.DRACOLoader: Decoding failed: Failed to decode geometry data.
- THREE.WebGLRenderer: Error creating WebGL context.
- THREE.FBXLoader: SpecularFactor map is not supported in three.js, skipping texture.
- THREE.FBXLoader: Vertex has more than 4 skinning weights assigned to vertex. Deleting additional weights.
- FBXLoader: TGA loader not found, skipping crate.tga
- THREE.FBXLoader: Unknown format.
- Uncaught TypeError: THREE.GLTFLoader is not a constructor
- THREE.GLTFLoader: JSON content not found.
- THREE.GLTFLoader: Unknown extension "KHR_materials_pbrSpecularGlossiness".
- THREE.Material: 'map' is not a property of THREE.ShaderMaterial.
- THREE.BufferGeometryUtils: .mergeGeometries() failed with geometry at index 1. All geometries must have compatible attributes; make sure index attribute exists among all geometries, or in none of them.
- THREE.WARNING: Multiple instances of Three.js being imported.
- R3F: Div is not part of the THREE namespace! Did you forget to extend? See: https://docs.pmnd.rs/react-three-fiber/api/objects#using-3rd-party-objects-declaratively
- THREE.Object3D.add: object not an instance of THREE.Object3D.
- THREE.ObjectLoader: Can't parse models/chair.obj. Unexpected token '#', "# Blender "... is not valid JSON
- THREE.ObjectLoader: Undefined texture #87ceeb
- THREE.OBJLoader: Unexpected line: ""
- THREE.WebGLRenderer: Property .outputEncoding has been removed. Use .outputColorSpace instead.
- THREE.WebGLShadowMap: PCFSoftShadowMap has been removed. Using PCFShadowMap instead.
- THREE.PointerLockControls: Unable to use Pointer Lock API
- THREE.PropertyBinding: Cannot parse trackName: fan
- THREE.PropertyBinding: No target node found for track: mixamorigHips.quaternion.
- THREE.Raycaster: Unsupported camera type: Camera
- THREE.WebGLProgram: Shader Error 0 - VALIDATE_STATUS false
- THREE.WebGLTextures: sRGB encoded textures have to use RGBAFormat and UnsignedByteType.
- THREE.WebGLRenderer: Texture has been resized from (12000x750) to (8192x512).
- THREE.WebGLRenderer: Texture marked for update but image is incomplete
- THREE.WebGLRenderer: Texture marked for update but no image data found.
- Uncaught TypeError: THREE.Geometry is not a constructor
- THREE.BufferGeometry.toNonIndexed(): BufferGeometry is already non-indexed.
THREE.WebGLTextures: Trying to use 33 texture units while this GPU supports only 32- THREE.WebGLRenderer: Unable to use normalized textures without EXT_texture_norm16 extension
- THREE.WebGLRenderer: Attempt to load unsupported compressed texture format in .uploadTexture()
- THREE.WebGLRenderer: A WebGL context could not be created. Reason: Canvas has an existing context of a different type