UE5 Keeps crashing

So currently i’m following the UE5 C++ The Ultimate Game Developer Course and i’m at the Skeletal Mesh Component section. I’ve already Created the bird pawn bp class added the skeletal mesh to it and also the animation but whenever i add the bp class to the game and want to start it UE5 Crashes and i get the following error:


Also here’s the code in vsc:


I know that i have those header file errors but i couldn’t fix them and everything was working fine untill now! Help pls!

Privacy & Terms