Skip to content
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

Bug: Assimp 5.4.1 can not find FBX loader for FBX file when it was read from memory. #5585

Open
vovan4ik123-engine opened this issue May 20, 2024 · 1 comment
Labels
Bug Global flag to mark a deviation from expected behaviour FBX Bugs related to the FBX format

Comments

@vovan4ik123-engine
Copy link

Version 5.4.1
I use method importer.ReadFileFromMemory(buffer, bufferSize) to load FBX file from memory.
This method calls ReadFile(...) inside.
ReadFile(...) can not find FBX loader for FBX file when it was loaded from memory.
In debug mode i see that FBX loader was created and exists and assimp do some attempts to match FBX loader with FBX file.
After all failed attemts it returns nullptr from method (means Scene* = nullptr).
Same FBX file in same way is properly loaded by assimp 5.3.1 without any problem.

@vovan4ik123-engine vovan4ik123-engine added the Bug Global flag to mark a deviation from expected behaviour label May 20, 2024
@vovan4ik123-engine vovan4ik123-engine changed the title Bug: Assimp 5.4.1 can not find FBX loader for FBX file when it is read from memory. Bug: Assimp 5.4.1 can not find FBX loader for FBX file when it was read from memory. May 20, 2024
@kimkulling kimkulling added the FBX Bugs related to the FBX format label May 31, 2024
@kimkulling
Copy link
Member

Thanks for the report. Could you please share the debug log? There should be some information showing if the FBX loader was detected or not. And a minimal example of how you have read in the file would be great.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Global flag to mark a deviation from expected behaviour FBX Bugs related to the FBX format
Projects
None yet
Development

No branches or pull requests

2 participants