Hey all,
A friend of mine and I have been working on a dungeon generator which we've imported to Unity. It's meant to be able to generate new dungeons at runtime, which it does, but this requires a recook.
The interesting part is that whenever the script I wrote does the recook, Unity switches from my game tab back to my scene tab. Here's a link [imgur.com] to a gif of the behavior, and a code snippet for the generation.
Any insight on what I'm doing wrong or how to fix this behavior is much appreciated!