Skip to content

Commit 1347808

Browse files
Changed the transport for the Bootstrap sample, from Unet to UTP (#1268)
1 parent 21d7384 commit 1347808

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

com.unity.netcode.gameobjects/Samples/Bootstrap/Scenes/Bootstrap.unity

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ RenderSettings:
3838
m_ReflectionIntensity: 1
3939
m_CustomReflection: {fileID: 0}
4040
m_Sun: {fileID: 0}
41-
m_IndirectSpecularColor: {r: 0.44657874, g: 0.49641275, b: 0.5748172, a: 1}
41+
m_IndirectSpecularColor: {r: 0.44657898, g: 0.4964133, b: 0.5748178, a: 1}
4242
m_UseRadianceAmbientProbe: 0
4343
--- !u!157 &3
4444
LightmapSettings:
@@ -151,16 +151,16 @@ MonoBehaviour:
151151
m_GameObject: {fileID: 1114774665}
152152
m_Enabled: 1
153153
m_EditorHideFlags: 0
154-
m_Script: {fileID: 11500000, guid: b84c2d8dfe509a34fb59e2b81f8e1319, type: 3}
154+
m_Script: {fileID: 11500000, guid: 6960e84d07fb87f47956e7a81d71c4e6, type: 3}
155155
m_Name:
156156
m_EditorClassIdentifier:
157-
MessageBufferSize: 5120
158-
MaxConnections: 100
159-
MaxSentMessageQueueSize: 128
160-
ConnectAddress: 127.0.0.1
161-
ConnectPort: 7777
162-
ServerListenPort: 7777
163-
MessageSendMode: 0
157+
m_ProtocolType: 0
158+
m_MessageBufferSize: 6144
159+
m_ReciveQueueSize: 128
160+
m_SendQueueSize: 128
161+
m_SendQueueBatchSize: 4096
162+
m_ServerAddress: 127.0.0.1
163+
m_ServerPort: 7777
164164
--- !u!114 &1114774667
165165
MonoBehaviour:
166166
m_ObjectHideFlags: 0
@@ -188,7 +188,6 @@ MonoBehaviour:
188188
ConnectionData:
189189
EnableTimeResync: 0
190190
TimeResyncInterval: 30
191-
EnableNetworkVariable: 1
192191
EnsureNetworkVariableLengthSafety: 0
193192
EnableSceneManagement: 1
194193
ForceSamePrefabs: 1

0 commit comments

Comments
 (0)