Unity-Technologies / com.unity.netcode.gameobjects

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

Closed Deprion closed 2 months ago

Deprion commented 4 months ago

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

Testing and Documentation

unity-cla-assistant commented 3 months ago

CLA assistant check
All committers have signed the CLA.

NoelStephensUnity commented 2 months ago

This was migrated to the public repository in #2871 and will be included in the v1.9.0 update. Thank you for your submission!