02-02-2021, 02:16 PM
Hello, we urchase Obi fluid recently. And after setup it in our project we had seen a huge drop in our performance, even without any fluid or softbody in our scene.
From our profiling we had guess the probleme is the fuild rendering feature added to URP.
It use two times the function FindObjectsOfType wich is very slow (probably because our scene is huge > 20000 objects.)
The result of one of the two calls isn't even used and is just a waste of cpu.
Any way to improve that ? Usage of frustum culling maybe ?
From our profiling we had guess the probleme is the fuild rendering feature added to URP.
It use two times the function FindObjectsOfType wich is very slow (probably because our scene is huge > 20000 objects.)
The result of one of the two calls isn't even used and is just a waste of cpu.
Any way to improve that ? Usage of frustum culling maybe ?