So i got to the lecture creating Child c++ classes and when i entered the ATank(); constructor in the Tank.h file UE crashed and whenever i want to open it it shows this error:
That would likely be due to not removing the SpringArm and Camera from the blueprint first. Deleting things from code isn’t enough, Unreal is loading the compiled code; so if you didn’t compile after making your changes then it’ll still be running what you had before.
To compile from VS Code use the build task
Ctrl + Shift + B > ProjectNameEditor Platform Development Build.
Where ProjectName is the name of your project and Platform is the platform you’re targeting e.g. Win64