Open mbalajee opened 3 months ago
Do you have the crash log?
And an example gltf would definitely be helpful.
Do you have the crash log?
And an example gltf would definitely be helpful.
Added logs in the description. Will try to get a test model that i can share here
@poweifeng FYI we currently have a limit of 16384 jobs -- we should probably not create that many :-)
⚠️ Issues not using this template will be systematically closed.
Describe the bug ResourceLoader creates a job for each primitive to compute tangent. This crashes filament when loading a larger model, even on Pixel 8 (which has been the best case device from our testing on various models).
Computing tangents for all primitives in a single job works (no longer crashes) but I guess that's not ideal, jobs can run in parallel ? So may we run them in batches to avoid creating way too many jobs?
To Reproduce Steps to reproduce the behavior: Load a model with 50+K renderables
Expected behavior ResourceLoader#computeTangents shouldn't crash
Logs
Smartphone (please complete the following information):