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 d218b29 commit 5d97c45Copy full SHA for 5d97c45
com.unity.netcode.gameobjects/Runtime/Core/NetworkObject.cs
@@ -106,6 +106,8 @@ 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
113
EditorUtility.DisplayDialog("Network Prefab Assets Only", "This action can only be performed on a network prefab asset.", "Ok");
0 commit comments