Bizarre Stack Overflow issues...

So I’m really frustrated. Out of nowhere, my perfectly stable project has started to have Stack Overflow errors in numerous places and unhandled Win 32 exceptions that crash the editor. It seems to happen when I’m reading data from a world data GameObject most often, but I’ve made no changes in those objects. I would bet my life that I have made no code changes that would cause this. I’m running Unity 5.4 and Visual Studio 2015 with C#. Has anyone else ever heard of this? Is my RAM going bad or is the editor maybe corrupt? Thanks in advance!

-Steve

Have you updated your version of Unity for Unity's Protection Policies For Its Creators | Unity Security ? the latest 5.3 patch will cover it. I do not know is is a related issue.

You said you’re on 5.3 so 5.3.8p2 should contain only fixes.

I’m at work so I’m actually on 5.4. Will need to go home to see the true version. Saw something about the patch. I’ll look further into it. Thanks!

It’s a long shot. Otherwise I’m going to hedge a guess that your code probably wasn’t working as flawless as you thought it was, if nothing has changed (something has changed, even if it’s not your code, the data could have).

Maybe. It’s just weird that it’s happening in code that’s been untouched for literally years in some cases. And it’s in many places that have been rock solid for months and months. The data generated is dynamic so it’s not an external data issue. I’m always going to look at code first, just wondering what other avenues to try. Thank you!

So I kept digging into my code, and it took me hours, but I finally found the issue. I had basically made one line change in a function that required the value of another function… that required the value of the first function. No wonder everything was crashing so hard!! One line fixed, problem solved. Thanks again for responding!

No problem. I’ve done the same dance an awful lot and I probably will again…

1 Like