Talk:Dedicated Server Guide (Windows & Linux)

From Epic Wiki
Jump to: navigation, search

Why failed to generate project files: e:\Game Dev\Unreal Projects\test\Source\testServer.Target.cs(6,6) : error CS0246: ?? 㤠???? ????? ??? ⨯? ??? ?????࠭?⢠ ???? "SupportedPlatforms" (?ய?饭? ??४⨢? using ??? ??뫪? ?? ᡮ????) e:\Game Dev\Unreal Projects\test\Source\testServer.Target.cs(6,6) : error CS0246: ?? 㤠???? ????? ??? ⨯? ??? ?????࠭?⢠ ???? "SupportedPlatformsAttribute" (?ய?饭? ??४⨢? using ??? ??뫪? ?? ᡮ????) UnrealBuildTool Exception: ERROR: UnrealBuildTool encountered an error while compiling source files

This problem is solved by removing the lines from the file testServer.target.cs

[SupportedPlatforms(UnrealPlatformClass.Server)]

On the Steam section

Still trying to get this working.  Will update again soon.

Connection immediately closes after successful join

My connections are immediately being closed. I followed the tutorial pretty closely.

Login request: /Game/Maps/Maps/entryMap userId: Invalid [2018.03.09-11.15.59:846][274]LogNet: Client netspeed is 10000 [2018.03.09-11.16.00:176][284]LogNet: Join request: /Game/Maps/Maps/entryMap?SplitscreenCount=1 [2018.03.09-11.16.01:139][284]LogNet: Join succeeded: 256 [2018.03.09-11.16.54:896][902]LogNet: UChannel::ReceivedSequencedBunch: Bunch.bClose == true. ChIndex == 0. Calling ConditionalCleanUp. [2018.03.09-11.16.54:903][902]LogNet: UChannel::CleanUp: ChIndex == 0. Closing connection. [UChannel] ChIndex: 0, Closing: 0 [UNetConnection] RemoteAddr: 127.0.0.1:55494, Name: IpConnection_0, Driver: GameNetDriver IpNetDriver_0, IsServer: YES, PC: MobaScapeServerPlayerController_0, Owner: MobaScapeServerPlayerController_0 [2018.03.09-11.16.54:903][902]LogNet: UNetConnection::Close: [UNetConnection] RemoteAddr: 127.0.0.1:55494, Name: IpConnection_0, Driver: GameNetDriver IpNetDriver_0, IsServer: YES, PC: MobaScapeServerPlayerController_0, Owner: MobaScapeServerPlayerController_0, Channels: 9, Time: 2018.03.09-11.16.54 [2018.03.09-11.16.54:904][902]LogNet: UChannel::Close: Sending CloseBunch. ChIndex == 0. Name: [UChannel] ChIndex: 0, Closing: 0 [UNetConnection] RemoteAddr: 127.0.0.1:55494, Name: IpConnection_0, Driver: GameNetDriver IpNetDriver_0, IsServer: YES, PC: MobaScapeServerPlayerController_0, Owner: MobaScapeServerPlayerController_0

This is caused by closing the client application before looking at the server logs (lol) I was confused because my character wouldn't move (I used topdown template which causes this).