If I create a new project it works fine. At some point after compiling C++ editor crashes. Then that project crashes on opening when it is 70%~ loaded. I am ready to provide any info possible. Please help me, I don’t want to switch to unity T_T
Had a similar problem (you can see my original question here), so I’ll see if my solution won’t work for you. Quick question, though- are you getting any error in the crash report? Access violation, etc? Mentioning that in your question would have been helpful, though I understand the panic of not even being able to open your project.
Anyway, try this:
Clone your project. Try opening the cloned version and see if it compiles alright.
If everything compiles and the editor starts, then it’s likely the same weird problem with your old project that I was having. I never figured how to fix it, so I instead just recommend deleting the old version after you’ve verified your new cloned version has everything and is in working order…
My report sending thing didn’t show error info. Anyway cloned project is opening, but not building. It says it cant find target rules.
Thanks you for help by the way.
Oh, I saved it in other folder with exactly same project name, it loaded and crashed on compilation. T_T
Oh, I found out what can cause such crash… If I create one of my objects in BeginPlay() of my game mode editor crashes when I hit play and if I move it to constructor, editor crashes on every launch.
To make your project starting you have to delete crashing module from binaries folder, remove crashing code from object in starting scene constructors and then just agree to rebuild on opening