Project won't open anymore

Thanks so much for the answer Teiwaz!!

I’ll follow your suggestion just arrive at home, but I think that I didn’t write any code in any of the constructors… anyway, I have so few code (just testing things) that I can even delete all (my code, not the auto-generated) and try it.
I’ll report the results here!! :slight_smile:

Great job Teiwaz!! I had 3 lines in one of my constructors… I move them to the BeginPlay() method and the editor and everything works fine!!
Now I am trying to guess what was wrong with that code when it was in the constructor… :slight_smile:

Thanks so much!!

Hi there,

I know that this is a typical issue, but I can’t find any explication of what is happening to me…

I have a very simple scene, just a chair, a frame and a door all from the props of the starter content.
I’ve attached a C++ class to the chair and to the door, this class just reports me the position.
I’ve also attached a C++ class to the door, to rotate it, and open it.
I set up this new map as the editor startup map and the game default map.

That’s all i’ve done… quite simple!! but it crashes… :frowning:

I’m usign:

  • unreal engine v4.16.1
  • Visual Studio 2017
  • Windows 7 Ultimate sp1 64bits

If u need any log or something, please just say it! :slight_smile:

Note: If anyone follows this UDEMY’s course… this happened to me at lecture 63 of The Unreal Engine Developer Course - Learn C++…

Best Regards!!

This is probably caused by a problem in the constructor of one of your C++ classes.

Try launching the editor from Visual Studio in Debug Editor mode. Open Visual Studio, set your project to be the startup project by right-clicking on it in the solution explorer and picking “set as startup project”, set the configuration to “DebugGame Editor,” and then hit the green play arrow next to configurations to run.

Your editor will still crash, but it should give you a useful callstack and take you right to where it happened.