Commit 81ebc04
committed
fix
Issue where distributed authority would throw an exception during scene migration due to the fact that we would throw an exception if the 1st scene in the scene migration table didn't contain the client that has authority over the NetworkObject that migrated into a new scene. Now we count how many entries were written and if that count is zero upon parsing known loaded scenes then it throws an exception.
Reverting the exclusion of DDOL synchronization (that was a red herring).1 parent df4a03a commit 81ebc04
3 files changed
Lines changed: 30 additions & 15 deletions
File tree
- com.unity.netcode.gameobjects/Runtime
- Core
- SceneManagement
Lines changed: 0 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3661 | 3661 | | |
3662 | 3662 | | |
3663 | 3663 | | |
3664 | | - | |
3665 | | - | |
3666 | | - | |
3667 | | - | |
3668 | | - | |
3669 | | - | |
3670 | 3664 | | |
3671 | 3665 | | |
3672 | 3666 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3059 | 3059 | | |
3060 | 3060 | | |
3061 | 3061 | | |
| 3062 | + | |
3062 | 3063 | | |
3063 | 3064 | | |
3064 | 3065 | | |
| |||
Lines changed: 29 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1204 | 1204 | | |
1205 | 1205 | | |
1206 | 1206 | | |
1207 | | - | |
| 1207 | + | |
1208 | 1208 | | |
1209 | 1209 | | |
1210 | | - | |
| 1210 | + | |
1211 | 1211 | | |
1212 | 1212 | | |
1213 | 1213 | | |
1214 | | - | |
| 1214 | + | |
1215 | 1215 | | |
1216 | | - | |
1217 | | - | |
| 1216 | + | |
| 1217 | + | |
| 1218 | + | |
| 1219 | + | |
| 1220 | + | |
| 1221 | + | |
| 1222 | + | |
1218 | 1223 | | |
1219 | 1224 | | |
1220 | | - | |
| 1225 | + | |
| 1226 | + | |
| 1227 | + | |
1221 | 1228 | | |
1222 | | - | |
| 1229 | + | |
1223 | 1230 | | |
1224 | 1231 | | |
1225 | 1232 | | |
1226 | 1233 | | |
1227 | | - | |
1228 | | - | |
| 1234 | + | |
| 1235 | + | |
1229 | 1236 | | |
1230 | 1237 | | |
1231 | 1238 | | |
| 1239 | + | |
| 1240 | + | |
| 1241 | + | |
| 1242 | + | |
| 1243 | + | |
| 1244 | + | |
| 1245 | + | |
| 1246 | + | |
| 1247 | + | |
| 1248 | + | |
| 1249 | + | |
| 1250 | + | |
| 1251 | + | |
1232 | 1252 | | |
1233 | 1253 | | |
1234 | 1254 | | |
| |||
0 commit comments