Crash on launch

So, after I complied my project and hit “Play”, my editor crashed and does not launch; it just shows this error :

(which was something that I tried to solve with my last change before compilation), and then this in a crash screen:

I don’t know what to do, and since this is my summer project, and I can’t possibly afford to recreate it from scratch in the time that I have until deadline. I tried to rebuilld code from Xcode, but it just fails to build, so no result there.

Phew! I’ve deleted the “Binaries/Mac” and forced the editor to fully rebuild my project BEFORE starting up! This way I managed to comment out the code that was causing all the trouble and now the editor at least starts up!

UPD. Apparently, some other files as well; and apparently, it stil crashes. ■■■■

The error you got, SEGV_MAPERR means you have a pointer that is not handled properly. Most likely you are asking for an asset that it cant find and you use it without checking if it is valid or not. Go to where you spawn that actor in your C++ code and then check all pointers.