Pawn is not created

I’ve created new GameMode, Controller and Pawn classes and set them as default for my project in ProjectSettings>Maps&Modes. Upon launching the project pawn and controller are not being created.

Check the world outliner settings on the actual level and see if it took your updates to the default settings.

If it’s this setting, then gamemode, pawn and controller are spawned but Event Begin Play stops working even on actors


tried to do the same thing with a project but without C++ and it works fine, so why doesn’t it work with C++?

fixed it by deleting the empty gameState class.