UE4 doesn't start

So I was working on this project and after building my C++ code in VS it suddenly closed itself. Now I can’t open my project because it automatically closes itself when I’m trying to do so. No errors, no crash reports, nothing. It just loads but then closes itself without warnings and stuff…

Is there a possibility that I screwed my C++ code so bad that it makes UE4 “unopenable”? lol
Or is it just a bug?

LOL alright I fixed it :smiley:

Before I wrote this line of code that sets the relative position of RootComponent (Idk why I did this)

Now I removed it and UE4 Editor opened and it works properly.

One question though, why couldn’t Editor open itself in a situation like this?

Thanks

Edit: I realized I didn’t have a RootComponent so because I was trying to access something that doesn’t exist UE4 crashed on me (I assume this can be the explanation for the weirdness