Trouble overriding replay system controller

I have the record and play replay part working perfectly. I am trying to change the default replay controller to my custom controller. I have changed the game mode replay spectator player controller class but it has no effect and the replay continue to use the default player controller. I verified that i’m using the correct game mode as well so there shouldn’t be any issue there

Any idea what am i missing?

Try putting that replay spectator in gamemode class as


in c++ code and that should spawn the replay controller in your game level