Android UI not responding when loading larger GLB model #7956
Labels
android
Issue/feature request for Android only
enhancement
New feature or request
gltf
Specific to glTF support
low priority
Low priority issue
Describe the bug
When loading larger models (over 8K entities)
ModelViewer#loadModelGlb
blocks the UI. Calling this function in a different thread results inThis thread has not been adopted
when executingResourceLoader::Impl::computeTangents
Engine has been created from main thread so as per the below comment in
Engine.cpp
,only the thread from which the Engine is created will be adopted by the
JobSystem
which eventually blocks the UI when loading larger modelTo Reproduce
Steps to reproduce the behavior:
Loading a larger model hangs the entire UI, can't exit out of the screen
Expected behavior
UI should not be blocked
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Sorry couldn't attach the glb file as it is confidential
The text was updated successfully, but these errors were encountered: