Netcode for GameObjects is a high-level netcode SDK that provides networking capabilities to GameObject/MonoBehaviour workflows within Unity and sits on top of underlying transport layer.
MIT License
2.1k
stars
430
forks
source link
fix: NetworkTransformEditor error, when physics2D enabled, but physics disabled #2833
Fixing Library\PackageCache\com.unity.netcode.gameobjects@1.7.1\Editor\NetworkTransformEditor.cs(160,17): error CS0103: The name 'go' does not exist in the current context when "physics" disabled in built-in packages, but "physics2D" enabled
Changelog
Fixed: declaration and initialization of "go" gameObject moved out of "physics" scope.
Testing and Documentation
No tests have been added.
No documentation changes or additions were necessary.
Fixing
Library\PackageCache\com.unity.netcode.gameobjects@1.7.1\Editor\NetworkTransformEditor.cs(160,17): error CS0103: The name 'go' does not exist in the current context
when "physics" disabled in built-in packages, but "physics2D" enabledChangelog
Testing and Documentation