Custom Campaign Map Crashing [Solved]

I’m working on creating a Custom Campaign, but all of my maps result in an access violation when Exiting to Windows. I believe it has something to do with the level scripting. The crash will occur on even a simple map with minimal scripting (an empty OnInit). I would appreciate if someone could give me some insight on how to fix this.

could you post the relevant .level and .lua files and so forth?

If you don’t find answers via helpers here, them PM me with a link to an example of your work, and I can check in the debugger…

nvm I found it. As I am still working on these levels there would be times when no rule was active. If the game was exited while this was the case, the game would crash. Presumably the game was trying to stop any rules that were still running and couldn’t find any.