Repository navigation
Commit d7534e5
authored
fix: UnifiedBootstrap creates a duplicate LocalWorld on 7000.0.0a12+ (#4243)
* fix: UnifiedBootstrap no longer creates a duplicate LocalWorld on 7000.0.0a12+
From 7000.0.0a12 Entities creates the default world and all of its systems
before it calls the custom bootstrap. UnifiedBootstrap still called
CreateLocalWorld("LocalWorld") when no NetworkManager was initializing, so a
second world ran every default system. Systems that hand state to
NetworkManager (for example a system that registers itself with the transform
state manager) could end up bound to the empty LocalWorld instead of the world
that holds the scene's entities.
Under UNITY_ENTITIES_WORLD_LIFETIME_CHANGES (the same version define N4E uses)
the bootstrap now uses the existing default world.
* Update CHANGELOG
* update
Bumping NGO version.
Updating validation exceptions file with the bumped version.1 parent 19503c9 commit d7534e5
5 files changed
Lines changed: 15 additions & 3 deletions
File tree
- com.unity.netcode.gameobjects
- Runtime
- Components/Helpers
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
115 | 120 | | |
| 121 | + | |
116 | 122 | | |
117 | 123 | | |
118 | 124 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
104 | 109 | | |
105 | 110 | | |
106 | 111 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
0 commit comments