Commit c877502
committed
fix
Fixing issue where spawning a player in distributed authority mode via a client, typically session owner, other than the newly connected client and scene management is disabled then the already spawned players will not properly get synchronized by each owning client due to the newly connected client's identifier already being added prior to synchronization.1 parent 9bf917b commit c877502
File tree
4 files changed
+35
-19
lines changed- com.unity.netcode.gameobjects/Runtime
- Core
- Messaging/Messages
- Spawning
4 files changed
+35
-19
lines changedLines changed: 15 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1320 | 1320 | | |
1321 | 1321 | | |
1322 | 1322 | | |
| 1323 | + | |
| 1324 | + | |
| 1325 | + | |
| 1326 | + | |
| 1327 | + | |
| 1328 | + | |
| 1329 | + | |
| 1330 | + | |
| 1331 | + | |
1323 | 1332 | | |
1324 | 1333 | | |
1325 | 1334 | | |
| |||
1469 | 1478 | | |
1470 | 1479 | | |
1471 | 1480 | | |
1472 | | - | |
| 1481 | + | |
1473 | 1482 | | |
1474 | 1483 | | |
1475 | 1484 | | |
| |||
3326 | 3335 | | |
3327 | 3336 | | |
3328 | 3337 | | |
3329 | | - | |
| 3338 | + | |
3330 | 3339 | | |
3331 | 3340 | | |
3332 | 3341 | | |
| |||
3346 | 3355 | | |
3347 | 3356 | | |
3348 | 3357 | | |
3349 | | - | |
| 3358 | + | |
3350 | 3359 | | |
3351 | 3360 | | |
3352 | 3361 | | |
3353 | | - | |
| 3362 | + | |
3354 | 3363 | | |
3355 | 3364 | | |
3356 | 3365 | | |
| |||
3359 | 3368 | | |
3360 | 3369 | | |
3361 | 3370 | | |
3362 | | - | |
| 3371 | + | |
3363 | 3372 | | |
3364 | 3373 | | |
3365 | 3374 | | |
| |||
3371 | 3380 | | |
3372 | 3381 | | |
3373 | 3382 | | |
3374 | | - | |
| 3383 | + | |
3375 | 3384 | | |
3376 | 3385 | | |
3377 | 3386 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
158 | 158 | | |
159 | 159 | | |
160 | 160 | | |
161 | | - | |
| 161 | + | |
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
208 | 208 | | |
209 | 209 | | |
210 | 210 | | |
211 | | - | |
| 211 | + | |
212 | 212 | | |
213 | 213 | | |
214 | 214 | | |
| |||
Lines changed: 18 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
84 | 87 | | |
85 | 88 | | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
86 | 93 | | |
87 | | - | |
| 94 | + | |
88 | 95 | | |
89 | | - | |
| 96 | + | |
90 | 97 | | |
91 | 98 | | |
92 | 99 | | |
93 | 100 | | |
94 | 101 | | |
95 | | - | |
| 102 | + | |
96 | 103 | | |
97 | 104 | | |
98 | 105 | | |
99 | 106 | | |
100 | 107 | | |
101 | 108 | | |
102 | 109 | | |
103 | | - | |
| 110 | + | |
104 | 111 | | |
105 | 112 | | |
106 | 113 | | |
| |||
1066 | 1073 | | |
1067 | 1074 | | |
1068 | 1075 | | |
1069 | | - | |
| 1076 | + | |
1070 | 1077 | | |
1071 | 1078 | | |
1072 | 1079 | | |
| |||
1077 | 1084 | | |
1078 | 1085 | | |
1079 | 1086 | | |
1080 | | - | |
| 1087 | + | |
1081 | 1088 | | |
1082 | 1089 | | |
1083 | 1090 | | |
1084 | 1091 | | |
1085 | 1092 | | |
1086 | 1093 | | |
1087 | 1094 | | |
1088 | | - | |
| 1095 | + | |
1089 | 1096 | | |
1090 | 1097 | | |
1091 | 1098 | | |
| |||
1174 | 1181 | | |
1175 | 1182 | | |
1176 | 1183 | | |
1177 | | - | |
| 1184 | + | |
1178 | 1185 | | |
1179 | 1186 | | |
1180 | 1187 | | |
| |||
1185 | 1192 | | |
1186 | 1193 | | |
1187 | 1194 | | |
1188 | | - | |
| 1195 | + | |
1189 | 1196 | | |
1190 | 1197 | | |
1191 | 1198 | | |
| |||
1738 | 1745 | | |
1739 | 1746 | | |
1740 | 1747 | | |
1741 | | - | |
| 1748 | + | |
1742 | 1749 | | |
1743 | 1750 | | |
1744 | 1751 | | |
1745 | 1752 | | |
1746 | 1753 | | |
1747 | 1754 | | |
1748 | 1755 | | |
1749 | | - | |
| 1756 | + | |
1750 | 1757 | | |
1751 | 1758 | | |
1752 | 1759 | | |
| |||
0 commit comments