Basically it returns a nullptr even when I have made sure that I have chose the sub class correctly, however just now I have tried the exact same code in my player class and it works so I’m not sure why this doesn’t work in my game mode class.
Just to be sure, even if you set *TileToSpawn *in the game mode, check if it has a valid reference. Other than that, I don’t understand why it fails in the GM and not in the player.