Quantcast
Channel: Questions in topic: "stackoverflowexception"
Viewing all articles
Browse latest Browse all 18

Unity Editor 4.2 crashes silently on play or start

$
0
0
I'm currently working on a hex-based map editor for a game and -- big win for me -- I finally have the ability to load in heightmaps and contour the terrain in roughly the style I'm aiming for. However, now that contouring of the mesh vertices and normals is working, the editor will crash if I ever try to load or play a scene that has been contoured. When this happens, Editor.log provides me the following unhelpful output: ---------- Platform assembly: C:\Program Files (x86)\Unity\Editor\Data\Mono\lib\mono\2.0\System.Xml.Linq.dll (this message is harmless) Mono: successfully reloaded assembly -Completed reload, in 1.660 seconds Failed to postprocess stacktrace StackOverflowException (Filename: Line: -1) Failed to postprocess stacktrace StackOverflowException (Filename: Line: -1) Failed to postprocess stacktrace StackOverflowException (Filename: Line: -1) Failed to postprocess stacktrace StackOverflowException ---------- ... and so on and so forth until it dies and crashes out. Unity provides me with no error messages at the time of the crash. The log is all I have to go by. I would provide a code sample to assist in debugging this problem, but there are at least half a dozen editor scripts at work and my scene contains literally thousands of gameobjects, all of which with their own updates and dynamic mesh scripts. More importantly, I really have no idea what code is causing the problem since I've got nothing to go on. So I'll start generally... Does anyone know of any reason that Unity would fail in this way? Perhaps someone has experienced something similar and can suggest a workaround? I heard in some other thread that instantiating a ton of gameobjects at once can be trouble, but my map generation script has no trouble hammering out tens of thousands of gameobjects to operate on, so I doubt that's the problem. I'm truly sorry to not be able to provide something more concrete but I am totally stumped with this at the moment. Let me know if there's any specific info I can provide to crack this can of worms open a little bit further...

Viewing all articles
Browse latest Browse all 18

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>