I am simply beginning out with unreal and I am caught on the child steps of a tutorial. That is the one little bit of code I am writing, into the general public part of the default third particular person character cpp file
DefaultCharacter.h
UFUNCTION(BlueprintCallable)
void OpenLobby();
DefaultCharacter.cpp
void AMPGCharacter::OpenLobby()
{
UE_LOG(LogTemp, Warning, TEXT("Opening foyer..."));
UWorld* world = GetWorld();
if(world)
{
UE_LOG(LogTemp, Warning, TEXT("Travelling with my new server..."));
world->ServerTravel("Sport/ThirdPerson/Foyer?pay attention");
}else
{
UE_LOG(LogTemp, Error, TEXT("Foyer not out there"));
}
}
The blueprint is configured very merely as:
After I press 0, the display simply flicks a bit, do not actually get a lot errors within the log, however, the extent does not appear to load, that is the log output:
LogTemp: Warning: Opening foyer...
LogTemp: Warning: Travelling with my new server...
LogGameMode: ProcessServerTravel: Sport/ThirdPerson/Foyer?pay attention
LogNet: Browse: 127.0.0.1:17777/Sport/ThirdPerson/Maps/ThirdPersonMap?sport=/Script/MPG.MPGGameMode
LogNet: World NetDriver shutdown IpNetDriver_35 [GameNetDriver]
LogNet: DestroyNamedNetDriver IpNetDriver_35 [GameNetDriver]
LogNet: UNetConnection::Shut: [UNetConnection] RemoteAddr: 127.0.0.1:17777, Title: IpConnection_26, Driver: GameNetDriver IpNetDriver_35, IsServer: NO, PC: PlayerController_1, Proprietor: PlayerController_1, UniqueId: NULL:DESKTOP-8MIT8VQ-8F44B6624D1C4437F58991AC2B95E05F, Channels: 12, Time: 2022.10.23-10.16.20
LogNet: UChannel::Shut: Sending CloseBunch. ChIndex == 0. Title: [UChannel] ChIndex: 0, Closing: 0 [UNetConnection] RemoteAddr: 127.0.0.1:17777, Title: IpConnection_26, Driver: GameNetDriver IpNetDriver_35, IsServer: NO, PC: PlayerController_1, Proprietor: PlayerController_1, UniqueId: NULL:DESKTOP-8MIT8VQ-8F44B6624D1C4437F58991AC2B95E05F
LogExit: GameNetDriver IpNetDriver_35 shut down
LogInit: WinSock: Socket queue. Rx: 32768 (config 32768) Tx: 32768 (config 32768)
LogNet: Created socket for bind tackle: 0.0.0.0 on port 0
PacketHandlerLog: Loaded PacketHandler part: Engine.EngineHandlerComponentFactory (StatelessConnectHandlerComponent)
LogNet: Sport shopper on port 17777, charge 100000
LogNet: UChannel::ReceivedSequencedBunch: Bunch.bClose == true. ChIndex == 0. Calling ConditionalCleanUp.
LogNet: UChannel::CleanUp: ChIndex == 0. Closing connection. [UChannel] ChIndex: 0, Closing: 0 [UNetConnection] RemoteAddr: 127.0.0.1:59984, Title: IpConnection_27, Driver: GameNetDriver IpNetDriver_34, IsServer: YES, PC: PlayerController_1, Proprietor: PlayerController_1, UniqueId: NULL:DESKTOP-8MIT8VQ-8F44B6624D1C4437F58991AC2B95E05F
LogNet: UNetConnection::Shut: [UNetConnection] RemoteAddr: 127.0.0.1:59984, Title: IpConnection_27, Driver: GameNetDriver IpNetDriver_34, IsServer: YES, PC: PlayerController_1, Proprietor: PlayerController_1, UniqueId: NULL:DESKTOP-8MIT8VQ-8F44B6624D1C4437F58991AC2B95E05F, Channels: 12, Time: 2022.10.23-10.16.20
LogNet: UNetConnection::Shut: CloseReason:
LogNet: - End result=ControlChannelClose, ErrorContext="ControlChannelClose"
LogNet: UChannel::Shut: Sending CloseBunch. ChIndex == 0. Title: [UChannel] ChIndex: 0, Closing: 0 [UNetConnection] RemoteAddr: 127.0.0.1:59984, Title: IpConnection_27, Driver: GameNetDriver IpNetDriver_34, IsServer: YES, PC: PlayerController_1, Proprietor: PlayerController_1, UniqueId: NULL:DESKTOP-8MIT8VQ-8F44B6624D1C4437F58991AC2B95E05F
LogOnlineSession: Warning: OSS: No sport current to go away for session (GameSession)
LogNet: NotifyAcceptingConnection: Server ThirdPersonMap refused
LogNet: NotifyAcceptingConnection: Server ThirdPersonMap refused
LogNet: NotifyAcceptingConnection: Server ThirdPersonMap refused
LogEngine: Server swap degree: /Sport/ThirdPerson/Maps/ThirdPersonMap
LogNet: Browse: :17777/Sport/ThirdPerson/Maps/ThirdPersonMap?Pay attention
LogLoad: LoadMap: :17777/Sport/ThirdPerson/Maps/ThirdPersonMap?Pay attention
LogWorld: BeginTearingDown for /Sport/ThirdPerson/Maps/UEDPIE_0_ThirdPersonMap
LogNet: World NetDriver shutdown IpNetDriver_34 [GameNetDriver]
LogNet: DestroyNamedNetDriver IpNetDriver_34 [GameNetDriver]
LogExit: GameNetDriver IpNetDriver_34 shut down
LogWorld: UWorld::CleanupWorld for ThirdPersonMap, bSessionEnded=true, bCleanupResources=true
LogSlate: InvalidateAllWidgets triggered. All widgets had been invalidated
LogAudio: Show: Audio Machine unregistered from world 'None'.
LogUObjectHash: Compacting FUObjectHashTables knowledge took 1.41ms
LogPlayLevel: Creating play world package deal: /Sport/ThirdPerson/Maps/UEDPIE_0_ThirdPersonMap
LogWorldPartition: Preliminary Information Layer Efficient States Activated() Loaded()
LogPlayLevel: PIE: StaticDuplicateObject took: (0.003271s)
LogPlayLevel: PIE: Created PIE world by copying editor world from /Sport/ThirdPerson/Maps/ThirdPersonMap.ThirdPersonMap to /Sport/ThirdPerson/Maps/UEDPIE_0_ThirdPersonMap.ThirdPersonMap (0.003341s)
LogAudio: Show: Audio Machine (ID: 20) registered with world 'ThirdPersonMap'.
LogChaos: FPhysicsSolverBase::AsyncDt:-1.000000
LogAIModule: Creating AISystem for world ThirdPersonMap
LogWorldPartition: Show: WorldPartition initialize began...
LogWorldPartition: UWorldPartition::Initialize(IsEditor=0, IsGame=0, IsCooking=0)
LogWorldPartition: Show: WorldPartition initialize took 677 us
LogPlayLevel: PIE: World Init took: (0.001438s)
LogLoad: Sport class is 'MPGGameMode'
LogNet: ReplicationDriverClass is null! Not utilizing ReplicationDriver.
LogNetCore: DDoS detection standing: detection enabled: 0 analytics enabled: 0
LogInit: WinSock: Socket queue. Rx: 131072 (config 131072) Tx: 131072 (config 131072)
LogNet: Created socket for bind tackle: 0.0.0.0 on port 17777
PacketHandlerLog: Loaded PacketHandler part: Engine.EngineHandlerComponentFactory (StatelessConnectHandlerComponent)
LogNet: GameNetDriver IpNetDriver_37 IpNetDriver listening on port 17777
LogWorld: Bringing World /Sport/ThirdPerson/Maps/UEDPIE_0_ThirdPersonMap.ThirdPersonMap up for play (max tick charge 0) at 2022.10.23-16.01.24
LogWorld: Mentioning degree for play took: 0.000923
LogOnlineSession: Warning: OSS: No sport current to hitch for session (GameSession)
LogLoad: Took 0.045270 seconds to LoadMap(/Sport/ThirdPerson/Maps/UEDPIE_0_ThirdPersonMap)
LogNet: NotifyAcceptingConnection accepted from: 127.0.0.1:64811
LogHandshake: SendConnectChallenge. Timestamp: 0.110064, Cookie: 208191195041133134142044188089066243160008031215003019020220
LogHandshake: SendChallengeResponse. Timestamp: 0.110064, Cookie: 208191195041133134142044188089066243160008031215003019020220
LogNet: NotifyAcceptingConnection accepted from: 127.0.0.1:64811
LogHandshake: SendChallengeAck. InCookie: 208191195041133134142044188089066243160008031215003019020220
LogNet: Server accepting post-challenge connection from: 127.0.0.1:64811
PacketHandlerLog: Loaded PacketHandler part: Engine.EngineHandlerComponentFactory (StatelessConnectHandlerComponent)
LogNet: NotifyAcceptedConnection: Title: ThirdPersonMap, TimeStamp: 10/23/22 16:01:25, [UNetConnection] RemoteAddr: 127.0.0.1:64811, Title: IpConnection_29, Driver: GameNetDriver IpNetDriver_37, IsServer: YES, PC: NULL, Proprietor: NULL, UniqueId: INVALID
LogNet: AddClientConnection: Added shopper connection: [UNetConnection] RemoteAddr: 127.0.0.1:64811, Title: IpConnection_29, Driver: GameNetDriver IpNetDriver_37, IsServer: YES, PC: NULL, Proprietor: NULL, UniqueId: INVALID
LogNet: UPendingNetGame::SendInitialJoin: Sending whats up. [UNetConnection] RemoteAddr: 127.0.0.1:17777, Title: IpConnection_28, Driver: PendingNetDriver IpNetDriver_36, IsServer: NO, PC: NULL, Proprietor: NULL, UniqueId: INVALID
LogNet: NotifyAcceptingChannel Management 0 server World /Sport/ThirdPerson/Maps/UEDPIE_0_ThirdPersonMap.ThirdPersonMap: Accepted
LogNet: Distant platform little endian=1
LogNet: This platform little endian=1
LogNet: Login request: ?sport=/Script/MPG.MPGGameMode?Title=DESKTOP-8MIT8VQ-8F44B6624D1C4437F58991AC2B95E05F userId: NULL:DESKTOP-8MIT8VQ-8F44B6624D1C4437F58991AC2B95E05F platform: NULL
LogNet: Welcomed by server (Degree: /Sport/ThirdPerson/Maps/UEDPIE_0_ThirdPersonMap, Sport: /Script/MPG.MPGGameMode)
LogLoad: LoadMap: 127.0.0.1:17777/Sport/ThirdPerson/Maps/UEDPIE_0_ThirdPersonMap?sport=/Script/MPG.MPGGameMode
LogWorld: BeginTearingDown for /Sport/ThirdPerson/Maps/UEDPIE_1_ThirdPersonMap
LogWorld: UWorld::CleanupWorld for ThirdPersonMap, bSessionEnded=true, bCleanupResources=true
LogSlate: InvalidateAllWidgets triggered. All widgets had been invalidated
LogAudio: Show: Audio Machine unregistered from world 'None'.
LogUObjectHash: Compacting FUObjectHashTables knowledge took 1.39ms
LogWorldPartition: Preliminary Information Layer Efficient States Activated() Loaded()
LogAudio: Show: Audio Machine (ID: 21) registered with world 'ThirdPersonMap'.
LogChaos: FPhysicsSolverBase::AsyncDt:-1.000000
LogWorldPartition: Show: WorldPartition initialize began...
LogWorldPartition: UWorldPartition::Initialize(IsEditor=0, IsGame=0, IsCooking=0)
LogWorldPartition: Show: WorldPartition initialize took 657 us
LogPlayLevel: PIE: World Init took: (0.001278s)
LogWorld: Bringing World /Sport/ThirdPerson/Maps/UEDPIE_1_ThirdPersonMap.ThirdPersonMap up for play (max tick charge 0) at 2022.10.23-16.01.25
LogWorld: Mentioning degree for play took: 0.000835
LogLoad: Took 0.034397 seconds to LoadMap(/Sport/ThirdPerson/Maps/UEDPIE_0_ThirdPersonMap)
LogWorldPartition: New Streaming Supply: PlayerController_0 -> Place: X=0.000 Y=0.000 Z=0.000
LogWorldPartition: Warning: Invalid world bounds, grid partitioning will use a runtime grid with 1 cell.
LogNet: Shopper netspeed is 100000
LogNet: Be part of request: /Sport/ThirdPerson/Maps/ThirdPersonMap?sport=/Script/MPG.MPGGameMode?Title=DESKTOP-8MIT8VQ-8F44B6624D1C4437F58991AC2B95E05F?SplitscreenCount=1
LogOnlineSession: Warning: OSS: No sport current to hitch for session (GameSession)
LogNet: Be part of succeeded: DESKTOP-8MIT8VQ-8F44
LogWorldPartition: New Streaming Supply: PlayerController_1 -> Place: X=0.000 Y=0.000 Z=0.000
LogOnlineSession: Warning: OSS: No sport current to hitch for session (GameSession)
LogOnlineSession: Warning: OSS: No sport current to hitch for session (GameSession)
LogSlate: Updating window title bar state: overlay mode, drag disabled, window buttons hidden, title bar hidden
LogWorld: BeginTearingDown for /Sport/ThirdPerson/Maps/UEDPIE_1_ThirdPersonMap
LogSlate: Window 'MPG Preview [NetMode: Client 1] (64-bit/SM5)' being destroyed
LogWorld: UWorld::CleanupWorld for ThirdPersonMap, bSessionEnded=true, bCleanupResources=true
LogSlate: InvalidateAllWidgets triggered. All widgets had been invalidated
LogNet: World NetDriver shutdown IpNetDriver_36 [GameNetDriver]
LogNet: DestroyNamedNetDriver IpNetDriver_36 [GameNetDriver]
LogNet: UNetConnection::Shut: [UNetConnection] RemoteAddr: 127.0.0.1:17777, Title: IpConnection_28, Driver: GameNetDriver IpNetDriver_36, IsServer: NO, PC: PlayerController_1, Proprietor: PlayerController_1, UniqueId: NULL:DESKTOP-8MIT8VQ-8F44B6624D1C4437F58991AC2B95E05F, Channels: 11, Time: 2022.10.23-10.16.26
LogNet: UChannel::Shut: Sending CloseBunch. ChIndex == 0. Title: [UChannel] ChIndex: 0, Closing: 0 [UNetConnection] RemoteAddr: 127.0.0.1:17777, Title: IpConnection_28, Driver: GameNetDriver IpNetDriver_36, IsServer: NO, PC: PlayerController_1, Proprietor: PlayerController_1, UniqueId: NULL:DESKTOP-8MIT8VQ-8F44B6624D1C4437F58991AC2B95E05F
LogExit: GameNetDriver IpNetDriver_36 shut down
LogWorld: BeginTearingDown for /Sport/ThirdPerson/Maps/UEDPIE_0_ThirdPersonMap
Do not actually perceive a lot from the logs. What would possibly the problem most likely be? I’ve checked if blueprint is compiled and saved, there’s additionally no error when constructing the code, stay coding’s working fantastic, however, I am unable to actually press 0 to hop to the designated degree.