#Unity hanging - A* movement system
1 messages · Page 1 of 1 (latest)
im going to call it a night for now and get the relevant code tomorrow. this has been such a headache.
https://gdl.space/ibopimojic.cs suspected problem code
https://gdl.space/nogejoyayu.cs for reference
https://gdl.space/axirogasig.cs for reference
I think the issue lies in one of 3 places.
the update section
the coroutine
handle mouse click
in one of these places, theres an infinite loop of some sort but i cant find it.
my suggestion is still the same as before, add a breakpoint inside everywhere you think there is an issue and see whats never finishing.
Maybe you can open the log folders and see what debugs were printing as well (assuming it still gets sent there), since your unity is hanging
Nested loop, bad return placement, and some inefficient code in my node manager. I’m rewriting it all using the never nest approach. It was a dumb move to begin with and there’s a better way to do it, just requires my brain to partition things even more.