Hey
The problem is spawn transform is not set to anything, a transform is a location and a rotation. (Its probably spawning your pawn at the world origin)
Set spawn transform to something, you probably want your level’s playerstart, so find out its transform and set your spawn transform variable to that.