When i am running this script I get an infinite loop detected if I place map size X AND Y at 500+.
I have checked and my infinite loop detection under project settings is set to 1 million this should only be producing 250,000.
So:
- Why is it detecting 4 times the number of loops?
- How safe is it for me to crank that infinite loop detection to say 10 mil or 100 mil? I mean if its an actual infinite loop wouldn’t it just cause a bit of lag before detecting?
Appreciate the help.
NextGenerator macro just prints a string, has a .5 second delay then moves to the TerrainGen(TG)
“SetCentre” just centres the terrain to the world