I was able to compile and play my project in editor without a problem. After closing the editor, it now crashes on startup.
A function in a blueprint seems to be the cause. I’ve tried removing the blueprint, loading the editor, copying the blueprint back in, and them making changes to see if I could stop it from crashing on load. When what seems to be the problem function and its calls are deleted, the project loads. When I try to copy the function’s contents, create a new function with a different name, paste those contents in, and replace the old function call with the new, the project still crashes. I am able to paste the nodes in, unlink execution pins, and slowly work my way through, linking and unlinking execution pins and restarting the editor to see if it crashes. However, the points at which it crashes seem completely arbitrary. At one point, only deleting a "Make Literal Int’ that was not connected to anything let me load the project. However, after restoring my backup and removing the literal int again to see if that really was the problem, it still crashed.
Again, I didn’t have an issue with this blueprint until closing the editor; it compiled without error or warning and performed as expected in PIE.
I’m pretty burnt out on the issue, but development is totally halted until I’ve resolved it. I can email staff my entire project if necessary.
It’s a pretty big function that calls other functions, and it crashes in more that one point. It would be a lot easier to just email a download for the 111mb project backup zip, really. But, here’s just one crash point:
I’m not exactly sure what the cause of the crash is but I converted your project to 4.7 Preview 8 and it is now fixed. I don’t suggest converting to this just yet because the preview builds are not intended for development. However, the official 4.7.0 release will be coming out very soon.
After much debugging, I’ve solved the problem (just in time for the 4.7 release :P) and posted the details in a new answer. But, thanks for taking a look at the project.
I’ve determined that the crash was caused by a circular dependency between my BuildingManager and TownRoad blueprints; they referenced each other. Strangely, this only affects a single function. Other functions use TownRoad references without incident.
Ultimately, I solved the problem by replacing my TownRoad references with Actor references and their function calls with calls to functions defined in a new interface. I was always telling myself that I should be using interfaces, but, in my laziness, I never listened to myself. That finally caught up to me and bit me in the ■■■. Lesson learned.
For the record, 4.7 supposedly eliminates circular dependency crashes. But, I really should have been using interfaces anyway.