i have the following problem, we develope a mobile game which has automatic generated tiles which go further like in the endless runner example.
To spawn obstacles on the environment tile we have a quite heavy logic behind it to determine which obstacle to spawn.
The problem is that on some devices the process seems to take so long, that everytime a new tile is generated the complete game hangs for about 0.1 - 0.2 seconds and drop frames from 30 to smaller than 10.
Is there an option to tell the construction skript not to block the engine and just generate? Because the tile that is generated is not in view so there is no problem to spawn obstacles without blocking.
Thanks for advice.
Kind regards pyr0t0n