New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When i Import 3D model, I get a error #543
Comments
Hello Does the error occur right after you import the file or when running the app? Thanks a lot! |
When I press F5 to run the application |
My browser is Google Chrome version 111.0.5563.64 I hope this information will be useful to you |
This might be a problem caused by serialization can you provide a sample file? |
https://assets.metaio.cc/assets/model/female.glb Sure, you can use this model to test. |
Hi, I found a new error today when running locally. When I open the page, the following error occurs: Uncaught TypeError: _data.slice is not a function I hope this helps to solve the problem :) |
In the process of trying to solve this problem, I found that the reason for the issue was because the imported model with a skeleton had a null skeleton attribute, which caused the problem. In line 25673 of three.module.js, there is code that checks if the object's skeleton frame is not equal to the render frame, and because object.skeleton is null, it throws an error. I tried to store the skeleton before this line of code and then assign it to object.skeleton during runtime, so that the program could run without errors. Here is my code: // file start // line 25672 However, a new problem occurred after running the code: the model did not load the texture correctly and became a completely black model. |
Great you could solve the gltf runtime issue. |
hi could you share the updated file thanks |
I have the same issue, is there a found fix? |
Hi! I am trying to import some 3D models in glb format but I am getting an error. How can I make it work?
Cannot read properties of null (reding 'frame')
Looking forward to your answer :)
The text was updated successfully, but these errors were encountered: