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
Update broke fbx loader, doesn't load textures #22285
Comments
Do you mind sharing the FBX asset with all textures in this thread? |
Sure, |
I also have the same problem with some FBX models that in previous versions worked correctly for me. It throws me these warnings: |
@camnewnham Do you mind having a look at this issue? |
Resolves mrdoob#22285 `texture.image` will always be undefined here as the textures are asynchronously loaded.
I can confirm this issue. This repo should have everything you need, just make sure you have the pnpm package manager installed (npm i -g pnpm) and you should be good to go (pnpm i && pnpm start). I primarily dev on Windows (10), so apologies if any platform-specific code snuck in. I always try to write portable code, even for personal toy projects like this one. I recently bumped three-js, and now the sword guy looks just like on the "after" sceenshot posted by @Heaust-ops above. |
@camnewnham I can further confirm that #22289 has indeed fixed the issue. Thank you! |
That does solve the problem thank you so much!! :D |
Resolves #22285 `texture.image` will always be undefined here as the textures are asynchronously loaded.
PR is now merged so the module version of |
FBXLoader doesn't load textures,
I tried swapping out the threejs lib in the node modules to an older one (a month old) and it works,
so some update happened which either broke it or changed the way it works?
Import:
import { FBXLoader } from "three/examples/jsm/loaders/FBXLoader";
Code:
how it is with older version:
how it is in the current version:
The text was updated successfully, but these errors were encountered: