Black screen on Client

uem_s01_meet_the_clientserver_model

#1

Having trouble to connect to the server
Anyone know how to solve this

Server Logs

[2018.07.09-12.58.46:757][241]LogNet: NotifyAcceptingChannel Control 0 server World /Engine/Maps/Entry.Entry: Accepted
[2018.07.09-12.58.46:757][241]LogNet: Remote platform little endian=1
[2018.07.09-12.58.46:851][241]LogNet: This platform little endian=1
[2018.07.09-12.58.46:887][243]LogNet: Login request: /Game/ThirdPersonCPP/Maps/ThirdPersonExampleMap?Name=Player userId: Invalid
[2018.07.09-12.58.46:921][244]LogNet: Client netspeed is 10000
[2018.07.09-12.58.47:119][250]LogNet: Join request: /Game/ThirdPersonCPP/Maps/ThirdPersonExampleMap?Name=Player?SplitscreenCount=1
[2018.07.09-12.58.47:121][250]LogNet: Join succeeded: Player

Client Logs

LogInit: Build: ++UE4+Release-4.18-CL-3832480
LogInit: Engine Version: 4.18.3-3832480+++UE4+Release-4.18
LogInit: Compatible Engine Version: 4.18.0-3709383+++UE4+Release-4.18
LogInit: Net CL: 3709383
LogDevObjectVersion: Number of dev versions registered: 16
LogDevObjectVersion:   Dev-Blueprints (B0D832E4-1F89-4F0D-ACCF-7EB736FD4AA2): 10
LogDevObjectVersion:   Dev-Build (E1C64328-A22C-4D53-A36C-8E866417BD8C): 0
LogDevObjectVersion:   Dev-Core (375EC13C-06E4-48FB-B500-84F0262A717E): 2
LogDevObjectVersion:   Dev-Editor (E4B068ED-F494-42E9-A231-DA0B2E46BB41): 20
LogDevObjectVersion:   Dev-Framework (CFFC743F-43B0-4480-9391-14DF171D2073): 30
LogDevObjectVersion:   Dev-Mobile (B02B49B5-BB20-44E9-A304-32B752E40360): 0
LogDevObjectVersion:   Dev-Networking (A4E4105C-59A1-49B5-A7C5-40C4547EDFEE): 0
LogDevObjectVersion:   Dev-Online (39C831C9-5AE6-47DC-9A44-9C173E1C8E7C): 0
LogDevObjectVersion:   Dev-Physics (78F01B33-EBEA-4F98-B9B4-84EACCB95AA2): 0
LogDevObjectVersion:   Dev-Platform (6631380F-2D4D-43E0-8009-CF276956A95A): 0
LogDevObjectVersion:   Dev-Rendering (12F88B9F-8875-4AFC-A67C-D90C383ABD29): 20
LogDevObjectVersion:   Dev-Sequencer (7B5AE74C-D270-4C10-A958-57980B212A5A): 4
LogDevObjectVersion:   Dev-VR (D7296918-1DD6-4BDD-9DE2-64A83CC13884): 0
LogDevObjectVersion:   Dev-LoadTimes (C2A15278-BFE7-4AFE-6C17-90FF531DF755): 1
LogDevObjectVersion:   Private-Geometry (6EACA3D4-40EC-4CC1-B786-8BED09428FC5): 1
LogDevObjectVersion:   Dev-AnimPhys (29E575DD-E0A3-4627-9D10-D276232CDCEA): 12
LogInit: Compiled (64-bit): Jan 12 2018 02:04:55
LogInit: Compiled with Visual C++: 19.00.24215.01
LogInit: Build Configuration: Development
LogInit: Branch Name: ++UE4+Release-4.18
LogInit: Command line:  192.168.0.11 -game -log
LogInit: Base directory: D:/Epic Games/UE_4.18/Engine/Binaries/Win64/
LogInit: Installed Engine Build: 1
LogInit: Presizing for max 8388607 objects, including 0 objects not considered by GC, pre-allocating 0 bytes for permanent pool.
LogInit: Object subsystem initialized
[2018.07.09-12.58.34:505][  0]LogInit: Selected Device Profile: [Windows]
[2018.07.09-12.58.34:505][  0]LogInit: Applying CVar settings loaded from the selected device profile: [Windows]
[2018.07.09-12.58.34:518][  0]LogInit: Computer: GODTEDDY-MSI
[2018.07.09-12.58.34:518][  0]LogInit: User: GodTeddy
[2018.07.09-12.58.34:518][  0]LogInit: CPU Page size=4096, Cores=4
[2018.07.09-12.58.34:520][  0]LogInit: High frequency timer resolution =2.630641 MHz
[2018.07.09-12.58.34:520][  0]LogMemory: Memory total: Physical=32.0GB (32GB approx)
[2018.07.09-12.58.34:521][  0]LogMemory: Platform Memory Stats for Windows
[2018.07.09-12.58.34:521][  0]LogMemory: Process Physical Memory: 275.66 MB used, 275.66 MB peak
[2018.07.09-12.58.34:521][  0]LogMemory: Process Virtual Memory: 274.21 MB used, 274.21 MB peak
[2018.07.09-12.58.34:521][  0]LogMemory: Physical Memory: 11919.14 MB used,  20806.80 MB free, 32725.94 MB total
[2018.07.09-12.58.34:522][  0]LogMemory: Virtual Memory: 4806.18 MB used,  20806.80 MB free, 134217728.00 MB total
[2018.07.09-12.58.35:131][  0]LogInit: Using OS detected language (en-US).
[2018.07.09-12.58.35:131][  0]LogInit: Using OS detected locale (en-US).
[2018.07.09-12.58.35:139][  0]LogTextLocalizationManager: No specific localization for 'en-US' exists, so the 'en' localization will be used.
[2018.07.09-12.58.35:621][  0]LogD3D11RHI: D3D11 adapters:
[2018.07.09-12.58.35:718][  0]LogD3D11RHI:    0. 'NVIDIA GeForce GTX 980M' (Feature Level 11_0)
[2018.07.09-12.58.35:718][  0]LogD3D11RHI:       8033/0/16362 MB DedicatedVideo/DedicatedSystem/SharedSystem, Outputs:1, VendorId:0x10de
[2018.07.09-12.58.35:722][  0]LogD3D11RHI:    1. 'Microsoft Basic Render Driver' (Feature Level 11_0)
[2018.07.09-12.58.35:722][  0]LogD3D11RHI:       0/0/16362 MB DedicatedVideo/DedicatedSystem/SharedSystem, Outputs:0, VendorId:0x1414
[2018.07.09-12.58.35:723][  0]LogD3D11RHI: Chosen D3D11 Adapter: 0
[2018.07.09-12.58.35:735][  0]LogD3D11RHI: Creating new Direct3DDevice
[2018.07.09-12.58.35:735][  0]LogD3D11RHI:     GPU DeviceId: 0x13d7 (for the marketing name, search the web for "GPU Device Id")
[2018.07.09-12.58.35:735][  0]LogWindows: EnumDisplayDevices:
[2018.07.09-12.58.35:736][  0]LogWindows:    0. 'NVIDIA GeForce GTX 980M' (P:1 D:1)
[2018.07.09-12.58.35:737][  0]LogWindows:    1. 'NVIDIA GeForce GTX 980M' (P:0 D:0)
[2018.07.09-12.58.35:737][  0]LogWindows:    2. 'NVIDIA GeForce GTX 980M' (P:0 D:0)
[2018.07.09-12.58.35:737][  0]LogWindows:    3. 'NVIDIA GeForce GTX 980M' (P:0 D:0)
[2018.07.09-12.58.35:738][  0]LogWindows: DebugString: GetVideoDriverDetailsInvalid PrimaryIsNotTheChoosenAdapter GetVideoDriverDetailsInvalid PrimaryIsNotTheChoosenAdapter GetVideoDriverDetailsInvalid PrimaryIsNotTheChoosenAdapter GetVideoDriverDetailsInvalid PrimaryIsNotTheChoosenAdapter FoundDriverCount:0
[2018.07.09-12.58.35:739][  0]LogD3D11RHI:     Adapter Name: NVIDIA GeForce GTX 980M
[2018.07.09-12.58.35:740][  0]LogD3D11RHI:   Driver Version: Unknown (internal:Unknown, unified:Unknown)
[2018.07.09-12.58.35:740][  0]LogD3D11RHI:      Driver Date: Unknown
[2018.07.09-12.58.35:741][  0]LogRHI: Texture pool is 5623 MB (70% of 8033 MB)
[2018.07.09-12.58.35:795][  0]LogD3D11RHI: Async texture creation enabled
[2018.07.09-12.58.35:826][  0]LogD3D11RHI: GPU Timing Frequency: 1000.000000 (Debug: 2 2)
[2018.07.09-12.58.35:881][  0]LogShaderCompilers: Guid format shader working directory is -10 characters bigger than the processId version (C:/Users/USER/Documents/Unreal Projects/PuzzlePlatforms/Intermediate/Shaders/WorkingDirectory/7836/).
[2018.07.09-12.58.35:881][  0]LogShaderCompilers: Cleaned the shader compiler working directory 'C:/Users/USER/AppData/Local/Temp/UnrealShaderWorkingDir/08F0F5AE46BAB083F675B2931E66862F/'.
[2018.07.09-12.58.35:882][  0]LogShaderCompilers: Display: Using Local Shader Compiler.
[2018.07.09-12.58.36:917][  0]LogTemp: Display: Loaded TP WindowsClientTargetPlatform
[2018.07.09-12.58.36:991][  0]LogTemp: Display: Loaded TP WindowsNoEditorTargetPlatform
[2018.07.09-12.58.37:069][  0]LogTemp: Display: Loaded TP WindowsServerTargetPlatform
[2018.07.09-12.58.37:141][  0]LogTemp: Display: Loaded TP WindowsTargetPlatform
[2018.07.09-12.58.37:142][  0]LogTargetPlatformManager: Display: Building Assets For Windows
[2018.07.09-12.58.37:925][  0]LogDerivedDataCache: Display: Max Cache Size: 512 MB
[2018.07.09-12.58.38:005][  0]LogDerivedDataCache: Loaded boot cache 0.08s 77MB C:/Users/USER/AppData/Local/UnrealEngine/4.18/DerivedDataCache/Boot.ddc.
[2018.07.09-12.58.38:005][  0]LogDerivedDataCache: Display: Loaded Boot cache: C:/Users/USER/AppData/Local/UnrealEngine/4.18/DerivedDataCache/Boot.ddc
[2018.07.09-12.58.38:007][  0]LogDerivedDataCache: FDerivedDataBackendGraph:  Pak pak cache file C:/Users/USER/Documents/Unreal Projects/PuzzlePlatforms/DerivedDataCache/DDC.ddp not found, will not use a pak cache.
[2018.07.09-12.58.38:007][  0]LogDerivedDataCache: Unable to find inner node Pak for hierarchical cache Hierarchy.
[2018.07.09-12.58.38:008][  0]LogDerivedDataCache: FDerivedDataBackendGraph:  CompressedPak pak cache file C:/Users/USER/Documents/Unreal Projects/PuzzlePlatforms/DerivedDataCache/Compressed.ddp not found, will not use a pak cache.
[2018.07.09-12.58.38:008][  0]LogDerivedDataCache: Unable to find inner node CompressedPak for hierarchical cache Hierarchy.
[2018.07.09-12.58.38:026][  0]LogDerivedDataCache: Display: Pak cache opened for reading ../../../Engine/DerivedDataCache/Compressed.ddp.
[2018.07.09-12.58.38:041][  0]LogDerivedDataCache: Using Local data cache path C:/Users/USER/AppData/Local/UnrealEngine/Common/DerivedDataCache: Writable
[2018.07.09-12.58.38:052][  0]LogMaterial: Verifying Global Shaders for PCD3D_SM5
[2018.07.09-12.58.38:052][  0]LogSlate: Using Freetype 2.6.0
[2018.07.09-12.58.38:054][  0]LogSlate: SlateFontCache - WITH_FREETYPE: 1, WITH_HARFBUZZ: 1
[2018.07.09-12.58.38:054][  0]LogSlate: SlateFontCache - WITH_FREETYPE: 1, WITH_HARFBUZZ: 1
[2018.07.09-12.58.38:684][  0]LogAssetRegistry: FAssetRegistry took 0.0056 seconds to start up
[2018.07.09-12.58.38:794][  0]LogPackageLocalizationCache: Processed 7 localized package path(s) for 2 prioritized culture(s) in 0.110025 seconds
[2018.07.09-12.58.38:914][  0]LogInit: Selected Device Profile: [Windows]
[2018.07.09-12.58.39:330][  0]LogSimplygon: Simplygon DLL not present - disabling.
[2018.07.09-12.58.39:390][  0]LogMeshReduction: Using SimplygonSwarm for distributed automatic mesh merging
[2018.07.09-12.58.39:390][  0]LogMeshReduction: Using QuadricMeshReduction for automatic static mesh reduction
[2018.07.09-12.58.39:391][  0]LogMeshReduction: No automatic skeletal mesh reduction module available
[2018.07.09-12.58.39:391][  0]LogMeshReduction: No automatic mesh merging module available
[2018.07.09-12.58.39:392][  0]LogMeshMerging: No automatic mesh merging module available
[2018.07.09-12.58.39:430][  0]LogNetVersion: PuzzlePlatforms , NetCL: 3709383, EngineNetVer: 2, GameNetVer: 0 (Checksum: 216480741)
[2018.07.09-12.58.40:049][  0]LogInit: WinSock: version 1.1 (2.2), MaxSocks=32767, MaxUdp=65467
[2018.07.09-12.58.41:830][  0]LogMoviePlayer: Initializing movie player
[2018.07.09-12.58.42:328][  0]LogCollectionManager: Loaded 0 collections in 0.000923 seconds
[2018.07.09-12.58.42:379][  0]LogFileCache: Scanning file cache for directory 'C:/Users/USER/Documents/Unreal Projects/PuzzlePlatforms/Saved/Collections/' took 0.01s
[2018.07.09-12.58.42:379][  0]LogFileCache: Scanning file cache for directory 'C:/Users/USER/Documents/Unreal Projects/PuzzlePlatforms/Content/Developers/GodTeddy/Collections/' took 0.01s
[2018.07.09-12.58.42:380][  0]LogFileCache: Scanning file cache for directory 'C:/Users/USER/Documents/Unreal Projects/PuzzlePlatforms/Content/Collections/' took 0.01s
[2018.07.09-12.58.42:381][  0]LogCollectionManager: Rebuilt the object cache for 0 collections in 0.000000 seconds (found 0 objects)
[2018.07.09-12.58.42:381][  0]LogCollectionManager: Fixed up redirectors for 0 collections in 0.002417 seconds (updated 0 objects)
[2018.07.09-12.58.43:605][  0]SourceControl: Source control is disabled
[2018.07.09-12.58.43:606][  0]SourceControl: Source control is disabled
[2018.07.09-12.58.43:696][  0]SourceControl: Source control is disabled
[2018.07.09-12.58.44:322][  0]LogAndroidPermission: UAndroidPermissionCallbackProxy::GetInstance
[2018.07.09-12.58.44:765][  0]LogOcInput: OculusInput pre-init called
[2018.07.09-12.58.44:958][  0]LogUObjectArray: 39919 objects as part of root set at end of initial load.
[2018.07.09-12.58.44:958][  0]LogUObjectAllocator: 8793768 out of 0 bytes used by permanent object pool.
[2018.07.09-12.58.44:960][  0]LogUObjectArray: CloseDisregardForGC: 0/0 objects in disregard for GC pool
[2018.07.09-12.58.45:087][  0]LogEngine: Initializing Engine...
[2018.07.09-12.58.45:089][  0]LogHMD: Failed to initialize OpenVR with code 110
[2018.07.09-12.58.45:277][  0]LogStats: UGameplayTagsManager::ConstructGameplayTagTree: Construct from data asset -  0.000 s
[2018.07.09-12.58.45:277][  0]LogStats: UGameplayTagsManager::ConstructGameplayTagTree: GameplayTagTreeChangedEvent.Broadcast -  0.000 s
[2018.07.09-12.58.45:337][  0]LogInit: XAudio2 using 'Speakers (Realtek High Definition Audio)' : 6 channels at 48 kHz using 32 bits per sample (channel mask 0x3f)
[2018.07.09-12.58.45:535][  0]LogInit: FAudioDevice initialized.
[2018.07.09-12.58.45:625][  0]LogDerivedDataCache: Saved boot cache 0.08s 77MB C:/Users/USER/AppData/Local/UnrealEngine/4.18/DerivedDataCache/Boot.ddc.
[2018.07.09-12.58.45:637][  0]LogInit: Texture streaming: Enabled
[2018.07.09-12.58.45:656][  0]LogMaterial: Uniform references updated for custom material expression Custom.
[2018.07.09-12.58.46:212][  0]LogInit: Display: Game Engine Initialized.
[2018.07.09-12.58.46:212][  0]LogGameplayTags: Display: UGameplayTagsManager::DoneAddingNativeTags. DelegateIsBound: 0
[2018.07.09-12.58.46:436][  0]LogInit: Display: Starting Game.
[2018.07.09-12.58.46:436][  0]LogNet: Browse: 192.168.0.11//Game/ThirdPersonCPP/Maps/ThirdPersonExampleMap?Name=Player
[2018.07.09-12.58.46:438][  0]LogTemp: Display: ParseSettings for GameNetDriver
[2018.07.09-12.58.46:439][  0]LogTemp: Display: ParseSettings for IpNetDriver_0
[2018.07.09-12.58.46:439][  0]LogTemp: Display: ParseSettings for PendingNetDriver
[2018.07.09-12.58.46:441][  0]LogInit: WinSock: Socket queue 32768 / 32768
[2018.07.09-12.58.46:448][  0]LogInit: WinSock: I am GodTeddy-MSI (192.168.0.11:0)
[2018.07.09-12.58.46:449][  0]PacketHandlerLog: Loaded PacketHandler component: Engine.EngineHandlerComponentFactory (StatelessConnectHandlerComponent)
[2018.07.09-12.58.46:449][  0]LogNet: Game client on port 7777, rate 10000
[2018.07.09-12.58.46:692][  0]LogLoad: (Engine Initialization) Total time: 16.34 seconds
[2018.07.09-12.58.46:692][  0]LogLoad: (Engine Initialization) Total Blueprint compile time: 0.00 seconds
[2018.07.09-12.58.46:694][  0]LogExternalProfiler: No external profilers were discovered.  External profiling features will not be available.
[2018.07.09-12.58.46:713][  0]LogHandshake: SendChallengeResponse. Timestamp: 19082.433594, Cookie: 099191013126017108007138102120251023058243173153047211142176
[2018.07.09-12.58.46:716][  0]LogContentStreaming: Texture pool size now 1000 MB
[2018.07.09-12.58.46:743][  1]LogNetVersion: PuzzlePlatforms 1.0.0.0, NetCL: 3709383, EngineNetVer: 2, GameNetVer: 0 (Checksum: 1426704057)
[2018.07.09-12.58.46:743][  1]LogNet: UPendingNetGame::SendInitialJoin: Sending hello. [UNetConnection] RemoteAddr: 192.168.0.11:7777, Name: IpConnection_0, Driver: PendingNetDriver IpNetDriver_0, IsServer: NO, PC: NULL, Owner: NULL
[2018.07.09-12.58.46:899][  6]LogNet: Welcomed by server (Level: /Engine/Maps/Entry, Game: /Script/PuzzlePlatform.PuzzlePlatformGameMode)
[2018.07.09-12.58.46:900][  6]LogLoad: LoadMap: 192.168.0.11//Engine/Maps/Entry?Name=Player?game=/Script/PuzzlePlatform.PuzzlePlatformGameMode
[2018.07.09-12.58.47:104][  6]LogAIModule: Creating AISystem for world Entry
[2018.07.09-12.58.47:104][  6]LogTemp: Display: ParseSettings for GameNetDriver
[2018.07.09-12.58.47:106][  6]LogWorld: Bringing World /Engine/Maps/Entry.Entry up for play (max tick rate 0) at 2018.07.09-05.58.47
[2018.07.09-12.58.47:106][  6]LogWorld: Bringing up level for play took: 0.000872
[2018.07.09-12.58.47:108][  6]LogLoad: Took 0.208239 seconds to LoadMap(/Engine/Maps/Entry)
[2018.07.09-12.58.47:165][  8]LogRenderer: Reallocating scene render targets to support 1536x864 Format 10 NumSamples 1 (Frame:1).
[2018.07.09-13.01.34:528][361]LogWindowsTextInputMethodSystem: Display: IME system now deactivated.
[2018.07.09-13.01.34:528][361]LogWindowsTextInputMethodSystem: Display: IME system now deactivated.

Thank you


#2

hi if it is possible to upload your .h and your .cpp file


#3

Hi
Thank for replied me
This is just the startup template cpp and h from unreal
PuzzlePlatform.zip (4.6 KB)


#4

did you use ?listen in cmd?


#5

Do you mean Am I opened server side yet?

I already run server side through cmd


#6

no in the end of the map, ThirdPersonExampleMap?listen


#7

I’m getting the same issue, for context this is from the multiplayer course section 6: https://www.udemy.com/unrealmultiplayer/learn/v4/t/lecture/7764312?start=0

There have been 0 modifications to the default Third Person C++ project.

?listen is not described at this point in the course, nor does solve the issue

It seems the server is not loading the map into the client. Because in the client you can open ThirdPersonExampleMap and the map loads locally.

Also the Server is getting the join successfully, but it complains about the user id

[2018.07.18-00.45.06:446][554]LogNet: Login request: /Game/ThirdPersonCPP/Maps/ThirdPersonExampleMap userId: Invalid
[2018.07.18-00.45.06:479][555]LogNet: Client netspeed is 10000
[2018.07.18-00.45.06:479][555]LogNet: Join request: /Game/ThirdPersonCPP/Maps/ThirdPersonExampleMap?SplitscreenCount=1
[2018.07.18-00.45.06:481][555]LogNet: Join succeeded: 259

#8

Figured it out!

I was starting the server with a Map that didn’t exist, and then it defaulted to the correct map. However, the server must be started with precisely /Game/ThirdPersonCPP/Maps/ThirdPersonCPP and defaulting to that map does not work.

If it can’t find the startup map, even if it loads the right map afterward, it won’t work.