I build game client and dedicated server for windows plarform on windows computer with out problems on html5 variant port listen on 8889.
I use cross platform with linux-cent-7-clang\v13_clang-7.0.1-centos7
but i use centos 8.3.
Is it better to use maybe clang8.x ?
- I have best point when i build dedicated server with:
call "RunUAT.bat" -nop4 BuildCookRun -project=C:\Zlatnaspirala\active-projects\rocket-craft\rocket-craft\versions\4.22\games\Brm\Brm\Brm.uproject -platform=Win64 -clientconfig=Development -serverconfig=Development -server -servertarget=BrmServer -build -cook -allmaps -stage -archive -archivedirectory=C:\NIDZA
pause
Logs looks nice and in one moment breaks :
[2020.12.31-12.47.06:223][ 0]LogStreaming: Error: Couldn't find file for package /Script/HTML5Networking requested by async loading code. NameToLoad: /Script/HTML5Networking
[2020.12.31-12.47.06:224][ 0]LogStreaming: Error: Found 0 dependent packages...
[2020.12.31-12.47.06:224][ 0]LogNet: CreateNamedNetDriver failed to create driver from definition GameNetDriver
[2020.12.31-12.47.06:224][ 0]LogNet: CreateNamedNetDriver failed to create driver GameNetDriver from definition GameNetDriver
[2020.12.31-12.47.06:224][ 0]LogNet: NetworkFailure: NetDriverCreateFailure, Error: ''
[2020.12.31-12.47.06:224][ 0]LogNet: Error: LoadMap: failed to Listen(/Game/Maps/barbarian-1?Name=Player)
- I use UE builded from source
- Replace netDriver
Added :
[/Script/Engine.Engine]
+ActiveGameNameRedirects=(OldGameName=“TP_VehicleAdvBP”,NewGameName=“/Script/Brm”)
+ActiveGameNameRedirects=(OldGameName=“/Script/TP_VehicleAdvBP”,NewGameName=“/Script/Brm”)
NetDriverDefinitions=(DefName=“GameNetDriver”,DriverClassName=“/Script/HTML5Networking.WebSocketNetDriver”,DriverClassNameFallback=“/Script/HTML5Networking.IpNetDriver”)[/Script/HTML5Networking.WebSocketNetDriver]
AllowPeerConnections=False
AllowPeerVoice=False
ConnectionTimeout=6000.0
InitialConnectTimeout=6000.0
AckTimeout=10.0 KeepAliveTime=20.2
MaxClientRate=15000
MaxInternetClientRate=10000
RelevantTimeout=5.0
SpawnPrioritySeconds=1.0
ServerTravelPause=4.0
NetServerMaxTickRate=30
LanServerMaxTickRate=35
WebSocketPort=8889
NetConnectionClassName=“/Script/HTML5Networking.WebSocketConnection”
MaxPortCountToTry=512
I make search in visual studio project and find :
"Name" : "HTML5Networking",
"Type" : "Runtime",
"LoadingPhase" : "Default",
"WhitelistPlatforms" :
[
"Mac",
"Win32",
"Win64",
"HTML5"
]
There is no linux on HTML5Networking WhitelistPlatforms ?!
Look like not possible ?