Reply To: Duplicate GlobalBlackboard warnings when using GBBs as prefabs

NodeCanvas Forums Support Duplicate GlobalBlackboard warnings when using GBBs as prefabs Reply To: Duplicate GlobalBlackboard warnings when using GBBs as prefabs

#12417
zsoik
Participant

I could hotfix it by changing the condition in OnValidate from
!allGlobals.Contains(this)
to
UnityEditor.PrefabUtility.GetPrefabType(this) != UnityEditor.PrefabType.Prefab && !allGlobals.Contains(this)

And
gameObject.scene.IsValid() && !allGlobals.Contains(this)
would also work.