Set class to "class none" in c++

I have a player controller choosing which pawn to spawn based on if the user is playing in VR or not.
The issue is that the gamemode is spawning the “DefaultPawn” class instead of nothing

im not exactly sure how to go about this. but what im looking for is once i load up my editor and hit play…the VR or FPS pawn spawns and nothing else

in my gamemode.cpp i was assuming this line would work

DefaultPawnClass = NULL;

seems i was wrong

i’m pretty sure it needs to reference the “none” class, but im not exactly sure how to access that class in c++
…is there a specific library i need to include?

Setting it to NULL should work, i just tested it too.

here’s my game mode C++ constructor


and here’s the result