Skip to content
This repository has been archived by the owner on Sep 5, 2022. It is now read-only.

Commit

Permalink
yeah
Browse files Browse the repository at this point in the history
  • Loading branch information
cxxpxr committed Jun 14, 2021
1 parent cfbfd90 commit 8d5f504
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions UnityProject/Assets/LRMTestScene.unity
Original file line number Diff line number Diff line change
Expand Up @@ -1106,6 +1106,7 @@ MonoBehaviour:
Port: 7777
NoDelay: 1
Interval: 10
Timeout: 10000
FastResend: 2
CongestionWindow: 0
SendWindowSize: 4096
Expand Down Expand Up @@ -1196,7 +1197,6 @@ MonoBehaviour:
autoStartServerBuild: 1
serverTickRate: 30
serverBatching: 0
serverBatchInterval: 0
offlineScene:
onlineScene:
transport: {fileID: 1282001522}
Expand Down Expand Up @@ -1238,7 +1238,7 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
clientToServerTransport: {fileID: 1521806211}
serverIP: 127.0.0.1
serverIP: localhost
serverPort: 7777
endpointServerPort: 8080
heartBeatInterval: 3
Expand Down Expand Up @@ -1380,6 +1380,7 @@ MonoBehaviour:
Port: 7777
NoDelay: 1
Interval: 10
Timeout: 10000
FastResend: 2
CongestionWindow: 0
SendWindowSize: 4096
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ IEnumerator RelayConnect()
Debug.LogWarning("LRM | Network Error while getting a relay to join from Load Balancer.");
break;
case UnityWebRequest.Result.Success:
var parsedAddress = JsonUtility.FromJson<RelayAddress>(result.Decompress());
var parsedAddress = JsonUtility.FromJson<RelayAddress>(result);
Connect(parsedAddress.address, parsedAddress.port);
endpointServerPort = parsedAddress.endpointPort;
break;
Expand Down

0 comments on commit 8d5f504

Please sign in to comment.