Download

AOnlineBeaconHost and BeaconNetDriver error

I am trying to spawn an AOnlineBeaconHost actor trough


BeaconHostListener = GetWorld()->SpawnActor<AOnlineBeaconHost>(AOnlineBeaconHost::StaticClass());

When i call the creation of the AOnlineBeaconHost actor i receive the log:

CreateNamedNetDriver failed to create driver from definition BeaconNetDriver

After that if I try to call InitHost() it returns false.
At first my game DefaultEngine.ini didn’t define a BeaconNetDriver and was


    [/Script/Engine.GameEngine]
    !NetDriverDefinitions=ClearArray
    +NetDriverDefinitions=(DefName="GameNetDriver",DriverClassName="OnlineSubsystemSteam.SteamNetDriver",DriverClassNameFallback="OnlineSubsystemUtils.IpNetDriver")

Then I examine the Unreal Tournament DefaultEngine.ini and updated mine


    [/Script/Engine.GameEngine]
    !NetDriverDefinitions=ClearArray
    +NetDriverDefinitions=DefName="GameNetDriver",DriverClassName="OnlineSubsystemSteam.SteamNetDriver",DriverClassNameFallback="OnlineSubsystemUtils.IpNetDriver")
    +NetDriverDefinitions=(DefName="BeaconNetDriver",DriverClassName="OnlineSubsystemUtils.IpNetDriver",DriverClassNameFallback="OnlineSubsystemUtils.IpNetDriver")
    
    [/Script/OnlineSubsystemUtils.OnlineBeaconHost]
    ListenPort=7787
    BeaconConnectionInitialTimeout=48.0
    BeaconConnectionTimeout=49.0

Nevertheless nothing changed.
Someone know the proper way to create and init an AOnlineBeaconHost class actor?

After checking the array NetDriverDefinitions in-game I found DemoNetDriver was present, so I checked all my project file looking for the declaration. In the end I updated the DefaultEngine in Saved folder, close and re-open the Engine and resolved