- Home /
Question by
abdelkrimezzahidi · May 07 at 07:51 AM ·
performancewebgldots
Unity ECS build to Webgl work slowly?
Hello!
I am working on a project using unity Dots to create 1 millions cubes then destroying the by raycast, the game work perfect when spawning 10 000 cubes and when i spawn over 1 millions it works good.
But when i build the game to webgl html5 the game work very slowly.
How can i solve this?
Please any help asap.
Thanks .
Comment
I suggest making sure that WebGL supports ECS & Burst at this point. ECS might work in some or most capacity, but the half of the performance gains were coming from Burst, which is far more technically demanding to support due to web security concerns.