Hi, I am new to NodeCanvas but in the start I have this weird problem: I cannot deactivate the “Repeat” flag in the Tree Owner component?! I am using 19.2.0F1.
All I did was add my first Hello World node
but it keeps repeating after 1 second is over…
so I click on the Repeat box but the hook stays
Any idea what might be causing this anyone?
Thx
Regards
Olaf
It's been lonely in the saddle since the horse died!
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
return_graph;
}
set{_graph=(T)value;}
}
Let me know if the fix works for you.
Thanks!
Join us on Discord: https://discord.gg/97q2Rjh
Author
Posts
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.
Login
Register
By registering on this website you agree to our Privacy Policy.