I found a small bug in the LatentActionNode.cs rencently.
If a “Wait” Node is on a flow called by event “On Enable” and is running,when you destory or stop the “FlowScriptController” component,it may not stop as expected.
It seems that an internal “OnGraphStarted” function will be executed AFTER the “On Enable” event,and the function will set the variable which stores the coroutine to null.
I just remove the currentCoroutine = null; in line 36,fix the bug,don’t know whether it will cause other bugs or not.
I’m not a native English Speaker,sorry for my poor English.
Thanks for the report. Indeed this was a known issue and the fix was also indeed removing that code you also removed as well.
I will do another review of the LatentActionNodes in relation to Awake, Start, Enable events to ensure that there are no other related issues in the next version.
Thank you.
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.