From 58a4ea26db0b5aadc6c21f5d604b5e6a92b3a798 Mon Sep 17 00:00:00 2001 From: jeffgamedev Date: Thu, 18 Jan 2024 13:57:58 -0600 Subject: [PATCH 1/2] Do not require component Animator on NetworkAnimator. --- com.unity.netcode.gameobjects/Components/NetworkAnimator.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/com.unity.netcode.gameobjects/Components/NetworkAnimator.cs b/com.unity.netcode.gameobjects/Components/NetworkAnimator.cs index 79030b7be7..8aaea1ea69 100644 --- a/com.unity.netcode.gameobjects/Components/NetworkAnimator.cs +++ b/com.unity.netcode.gameobjects/Components/NetworkAnimator.cs @@ -164,7 +164,6 @@ internal NetworkAnimatorStateChangeHandler(NetworkAnimator networkAnimator) /// NetworkAnimator enables remote synchronization of state for on network objects. /// [AddComponentMenu("Netcode/Network Animator")] - [RequireComponent(typeof(Animator))] public class NetworkAnimator : NetworkBehaviour, ISerializationCallbackReceiver { [Serializable] From 430858404f7ffe5a3a81df791556234674abd679 Mon Sep 17 00:00:00 2001 From: NoelStephensUnity Date: Fri, 5 Apr 2024 12:28:45 -0500 Subject: [PATCH 2/2] update Adding changelog entry. --- com.unity.netcode.gameobjects/CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/com.unity.netcode.gameobjects/CHANGELOG.md b/com.unity.netcode.gameobjects/CHANGELOG.md index b34313556a..0b27befc3e 100644 --- a/com.unity.netcode.gameobjects/CHANGELOG.md +++ b/com.unity.netcode.gameobjects/CHANGELOG.md @@ -32,6 +32,7 @@ Additional documentation and release notes are available at [Multiplayer Documen ### Changed +- Changed `NetworkAnimator` no longer requires the `Animator` component to exist on the same `GameObject`. (#2872) - Changed `NetworkTransform` to now use `NetworkTransformMessage` as opposed to named messages for NetworkTransformState updates. (#2810) - Changed `CustomMessageManager` so it no longer attempts to register or "unregister" a null or empty string and will log an error if this condition occurs. (#2807)