Reply To: Duplicate GlobalBlackboard warnings when using GBBs as prefabs

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

#17796
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.