SpawnActor failed because no class was specified 4.22

I’ve now tried deleting the folders and rebuilding, no change.

Interestingly, I moved everything to my Game State C++ files and without changing a line of code, it works perfectly but where I want (or at least the BP tutorial says to put) everything, the CameraPawn files, it doesn’t.