- Home /
Endless loading error
I'm working on procedurally generated map and I have an int that controls part of the height map. Whenever I change the value in the editor I get this loading window and it never stops. I have exited the project and loaded it again numerous times but the same thing keeps happening. How can I fix this?
Does the entire editor freeze and the only way to quit it is with task manager? And does it always freeze on the same line?
Yes the entire editor freezes and I use the task manager to quit. Its also funny that you asked the second question cause it isn't always the same line. I did the error purposely in order to take the picture and for some reason, the value of the int actually changed successfully. But then after a few seconds the error occurred and I noticed that the text was a little different. I can provide a picture of the original error text if you want.
If that OnInspectorGUI is your own code then I'd put a breakpoint inside it to check whether it's still being ran while deep in the editor freeze, it sounds like there's some sort of infinite loop going on. That said the part where you said it moved may imply it's just taking a while..? $$anonymous$$ay not have the answer to this one but it sounds like it's either an infinite loop, an unhandled problem inside the engine or it's just damn slow.. I'd query any and all loops you have and ensure their exit conditions are definitely going to be hit
Your answer
Follow this Question
Related Questions
Engine Language Changed 0 Answers
Unity Script Editor Not Working 1 Answer
Hierarchy not showing anything, getting KeyNotFoundException 1 Answer