Thanks for informing me of this bug. It was introduced in the latest version accidentaly due to some changes.
To fix this, please open up GraphOwner.cs file and change the property in line #411 to be like this:
1
2
3
4
5
6
7
8
///The current behaviour Graph assigned (same as .graph but of type T)
publicTbehaviour{
get{return(T)graph;}
set{graph=value;}
}
Please also make sure that the property in line #394 (same file) is looking exactly like the code bellow (which means that you are using the latest version), other wise please do not make the change I posted above before you update.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
///The current behaviour Graph assigned
sealedpublicoverrideGraphgraph{
get
{
#if UNITY_EDITOR
//In Editor only and if graph is bound, return the bound graph instance
if(graphIsBound&&!Application.isPlaying){
returnboundGraphInstance;
}
#endif
//In runtime an instance of either boundGraphSerialization json or Asset Graph is created in awake