It sounds like the character which has spawned in the level isn’t actually a SurvivalCppCharacter so the cast is failing. Verify whether it is by getting the class of the character being returned by GetPlayerCharacter.
It sounds like the character which has spawned in the level isn’t actually a SurvivalCppCharacter so the cast is failing. Verify whether it is by getting the class of the character being returned by GetPlayerCharacter.