Replay system (gamemode from c++)

Hi, i have been following this tutorial to create replay system wiki.unrealengine.com

Have created all widgets, code compile successfully but have problem with replay spectator. Im using plugin AirSim GitHub - microsoft/AirSim: Open source simulator for autonomous vehicles built on Unreal Engine / Unity, from Microsoft AI & Research it is plugin that simulate drone. It has own gamemode AirsimGamemode (here is c++ file AirSim/Unreal/Plugins/AirSim/Source at main · microsoft/AirSim · GitHub) that spawn drone at start. Problem is that I cant assign BP_PC_Spectator there. So I created own gamemode that I thought will override AirSimGameMode. It kinda did, it spawned drone on start but replay spectator widget show record screen, but it is not shown on play replay screen and I cannot move there as well.

I thing its a problem with ‘overriden’ gamemode, BP_PC_Spectator is not assigned to AirSimGameMode. I also got error something like “only local player controllers can be assigned to widget. Its not local player”. Can I somehow turn c++ class to blueprint and add BP_PC_Spectator ?

Here is Wiki Guide for Better or Clean blog from Wiki