-
-
Notifications
You must be signed in to change notification settings - Fork 35.5k
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
FBXLoader: some textures on Mixamo model fail to load #12067
Comments
Investigating this further now - the huge console log is actually just happening because of the way I have my app set up. If I load this model using the examples/webgl_loader_fbx code then I get these errors:
(Note: all textures, embedded or otherwise, still contain a ref to the filepath so There are 14 textures referenced by the model, but some are duplicates so the imageMap finally has 8 - and as far as I can see, these three missing files are actually loaded in the map, they are just not getting referenced properly for some reason and the loader tries to pass the URL to the textureLoader, thinking that they are included separately and need to be loaded. |
Hallo, Great work you guys are doing with this loader. error: TypeError: Cannot read property '0' of undefined |
Here's the model. Mixamo only provides binary FBX unfortunately.
stand_1.zip
It does load, however some of the textures fail and the whole data url gets logged to the console, which crashes the console in Chrome. Here's a truncated version of the error (it repeats for 3 seperate textures).
If I log the filename in the parseTexture function like so
Then I can see which files are working and which fail:
So most of the texture are correctly loading as blobs, however some get the
'../../../../home/app/mixamo-mini/tmp/skins_be3e30ed-c513-4790-a63c-4503ed6a5f49.fbm/` url appended for some reason.
I get similar errors when attempting to load the Dentist's office model from issue #11973
(and I still get the same errors even after applying the fix from #12004 ).
The text was updated successfully, but these errors were encountered: