Commit 4512b39
authored
chore: merge ngo and n4e with poc transport and updates (#3889)
* update
Fixes for connection sequence where clients don't announce they are ready to receive snapshots until fully synchronized by NGO.
Fixes for removing pending ghosts and ghost spawn data (especially when being destroyed).
Fixes for NetworkSceneManager detecting pending ghosts as in-scene placed.
Fixes for NetworkSpawnManager.RegisterGhostPendingSpawn trying to double process triggers and/or process triggers when it should not.
* update & fixes
Some adjustments to the POC Transport.
Some fixes.
* fix
Wrapping reference to namespace that only exists when in unified mode.
* update
fixing spelling of UNIFIED_NETCODE
* update
Increasing max RPC size to 1340.
Re-enabling the UnifiedBootStrap.AutoConnectPort. (N4E handles the connection)
Removing the initial listen and/or connection within the UnifiedTransport (N4E handle this).
Moving unified validation invocation to be after OnValidation early exit checks.
* update
Lowering max packet size to 1300.1 parent 66e6483 commit 4512b39
File tree
8 files changed
+134
-141
lines changed- com.unity.netcode.gameobjects/Runtime
- Components/Helpers
- Core
- Messaging/Messages
- SceneManagement
- Spawning
- Transports/Unified
8 files changed
+134
-141
lines changedLines changed: 7 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | | - | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
19 | 21 | | |
20 | 22 | | |
21 | 23 | | |
| |||
41 | 43 | | |
42 | 44 | | |
43 | 45 | | |
44 | | - | |
| 46 | + | |
45 | 47 | | |
46 | 48 | | |
47 | 49 | | |
| |||
80 | 82 | | |
81 | 83 | | |
82 | 84 | | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | 85 | | |
96 | 86 | | |
97 | 87 | | |
| 88 | + | |
98 | 89 | | |
99 | 90 | | |
100 | 91 | | |
| |||
Lines changed: 21 additions & 26 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | 16 | | |
20 | 17 | | |
21 | 18 | | |
| |||
34 | 31 | | |
35 | 32 | | |
36 | 33 | | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | 34 | | |
47 | 35 | | |
48 | 36 | | |
49 | 37 | | |
50 | 38 | | |
| 39 | + | |
| 40 | + | |
51 | 41 | | |
52 | 42 | | |
53 | 43 | | |
| |||
60 | 50 | | |
61 | 51 | | |
62 | 52 | | |
63 | | - | |
| 53 | + | |
64 | 54 | | |
65 | 55 | | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | 56 | | |
70 | 57 | | |
71 | | - | |
72 | | - | |
| 58 | + | |
73 | 59 | | |
74 | 60 | | |
75 | 61 | | |
| |||
79 | 65 | | |
80 | 66 | | |
81 | 67 | | |
82 | | - | |
83 | | - | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
84 | 71 | | |
85 | 72 | | |
86 | 73 | | |
| |||
97 | 84 | | |
98 | 85 | | |
99 | 86 | | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
100 | 97 | | |
101 | 98 | | |
102 | 99 | | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
| 109 | + | |
115 | 110 | | |
116 | 111 | | |
117 | 112 | | |
| |||
Lines changed: 20 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
| 13 | + | |
12 | 14 | | |
13 | 15 | | |
14 | 16 | | |
| |||
1204 | 1206 | | |
1205 | 1207 | | |
1206 | 1208 | | |
1207 | | - | |
| 1209 | + | |
1208 | 1210 | | |
1209 | 1211 | | |
1210 | 1212 | | |
1211 | | - | |
| 1213 | + | |
1212 | 1214 | | |
1213 | 1215 | | |
1214 | 1216 | | |
| |||
1320 | 1322 | | |
1321 | 1323 | | |
1322 | 1324 | | |
| 1325 | + | |
| 1326 | + | |
| 1327 | + | |
| 1328 | + | |
| 1329 | + | |
| 1330 | + | |
| 1331 | + | |
1323 | 1332 | | |
1324 | | - | |
1325 | | - | |
1326 | | - | |
| 1333 | + | |
| 1334 | + | |
| 1335 | + | |
1327 | 1336 | | |
1328 | | - | |
| 1337 | + | |
| 1338 | + | |
| 1339 | + | |
1329 | 1340 | | |
1330 | | - | |
| 1341 | + | |
| 1342 | + | |
1331 | 1343 | | |
1332 | | - | |
1333 | | - | |
1334 | 1344 | | |
| 1345 | + | |
1335 | 1346 | | |
1336 | 1347 | | |
1337 | 1348 | | |
| |||
Lines changed: 16 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
257 | 257 | | |
258 | 258 | | |
259 | 259 | | |
260 | | - | |
261 | | - | |
262 | | - | |
263 | | - | |
264 | 260 | | |
265 | 261 | | |
266 | 262 | | |
| |||
280 | 276 | | |
281 | 277 | | |
282 | 278 | | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
283 | 283 | | |
284 | 284 | | |
285 | 285 | | |
| |||
1732 | 1732 | | |
1733 | 1733 | | |
1734 | 1734 | | |
| 1735 | + | |
| 1736 | + | |
1735 | 1737 | | |
1736 | | - | |
| 1738 | + | |
1737 | 1739 | | |
| 1740 | + | |
| 1741 | + | |
| 1742 | + | |
| 1743 | + | |
| 1744 | + | |
| 1745 | + | |
1738 | 1746 | | |
| 1747 | + | |
1739 | 1748 | | |
1740 | 1749 | | |
1741 | 1750 | | |
| |||
1763 | 1772 | | |
1764 | 1773 | | |
1765 | 1774 | | |
1766 | | - | |
| 1775 | + | |
1767 | 1776 | | |
1768 | 1777 | | |
1769 | 1778 | | |
1770 | | - | |
| 1779 | + | |
1771 | 1780 | | |
1772 | 1781 | | |
1773 | 1782 | | |
| |||
3846 | 3855 | | |
3847 | 3856 | | |
3848 | 3857 | | |
3849 | | - | |
3850 | 3858 | | |
3851 | 3859 | | |
3852 | 3860 | | |
| |||
3866 | 3874 | | |
3867 | 3875 | | |
3868 | 3876 | | |
3869 | | - | |
3870 | | - | |
3871 | | - | |
3872 | | - | |
3873 | | - | |
3874 | 3877 | | |
3875 | 3878 | | |
3876 | 3879 | | |
| |||
Lines changed: 0 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | 1 | | |
6 | 2 | | |
7 | 3 | | |
| |||
30 | 26 | | |
31 | 27 | | |
32 | 28 | | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | 29 | | |
39 | 30 | | |
40 | 31 | | |
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2740 | 2740 | | |
2741 | 2741 | | |
2742 | 2742 | | |
| 2743 | + | |
| 2744 | + | |
| 2745 | + | |
| 2746 | + | |
2743 | 2747 | | |
2744 | 2748 | | |
| 2749 | + | |
| 2750 | + | |
2745 | 2751 | | |
2746 | 2752 | | |
2747 | 2753 | | |
| |||
0 commit comments