Commit eab178e
committed
fix
Fixing exception that could be thrown in NetworkLog if there is no NetworkManager instance.
Adding additional check in NetworkObject.OnNetworkBehaviourDestroyed to assure nothing is ever logged about destroying a NetworkBehaviour when shutting down and the NetworkObject is still considered spawned.1 parent 1495955 commit eab178e
File tree
2 files changed
+12
-4
lines changed- com.unity.netcode.gameobjects/Runtime
- Core
- Logging
2 files changed
+12
-4
lines changedLines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3647 | 3647 | | |
3648 | 3648 | | |
3649 | 3649 | | |
3650 | | - | |
| 3650 | + | |
| 3651 | + | |
3651 | 3652 | | |
3652 | 3653 | | |
3653 | 3654 | | |
| |||
Lines changed: 10 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
| 116 | + | |
116 | 117 | | |
117 | 118 | | |
118 | 119 | | |
119 | | - | |
| 120 | + | |
120 | 121 | | |
121 | | - | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
122 | 127 | | |
123 | | - | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
124 | 131 | | |
125 | 132 | | |
126 | 133 | | |
| |||
0 commit comments