We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 951a344 commit 3225fd8Copy full SHA for 3225fd8
com.unity.netcode.gameobjects/Runtime/Core/NetworkObject.cs
@@ -106,6 +106,7 @@ public uint PrefabIdHash
106
internal void RefreshAllPrefabInstances()
107
{
108
var instanceGlobalId = GlobalObjectId.GetGlobalObjectIdSlow(this);
109
+ // Assign the currently selected instance to be updated
110
NetworkObjectRefreshTool.PrefabNetworkObject = this;
111
if (!PrefabUtility.IsPartOfAnyPrefab(this) || instanceGlobalId.identifierType != k_ImportedAssetObjectType)
112
0 commit comments