What do you mean by saying that references to global blackboard variables come up null?
Do you mean that the variable value in runtime results to null, or that in editor it looks like this after a Unity script re-compile:
[attachment file=”GlobalBBnameReference.png”]
If the 2nd, then to fix it, please open up GlobalBlackboard.cs and add this piece of code by the end:
1
2
3
4
5
6
7
8
9
10
11
#if UNITY_EDITOR
voidOnValidate(){
if(!allGlobals.Contains(this)){
allGlobals.Add(this);
}
}
#endif
Let me know if that is indeed the issue, or if I misunderstood it.
Thanks.