[SOLVED] Long delay after selecting entity in the Editor

When I click on the essential entity my browser goes from 500 MB ram to 2 gb and play canvas gets stuck.

Link:
https://playcanvas.com/project/808594/overview/lets-make-waffles

They system is core i7 4th gen and 16 GB of ram i don’t think it could happen because of the system.

It’s because you’ve created 2000 elements in your JSON levels array (from this script). When you click on the entity, the Editor has to build the array in the Inspector panel. So this takes quite a long time. Do you really need 2000?

2 Likes

Thx man.
I don’t need 2000 items. I accidently passed it.