I encounter some annoying problem: when flowgraph selected(showing in unity’s insector) in playmode started to flow lot of same errors. When I deselect the flowgraph file, error emmiting stops.
1. Let some object a on scene A and attached flowscript on it;
2. Select the script in the project that attached to object(it should shown in the inspector now);
3. Unload scene A, load scene B. Scene B doesn’t contain object a;
4. When B has loaded, then will start error logging every frame. If not, try to point your cursor above inspector, in my case this triggers logging errors too.
P.S. It seems like cached contextObject contains reference on already destroyed object, so IsPartOfRegularPrefab can’t handle this object properly?
Hello, your solution helped to avoid issue I’ve been describing, but I have another question, do you mind?
Again, when I pick FlowCanvas asset file from Project which already attached to the some object there is some field corresponding to the ran flowscript:
But if I destroy my object with FlowScriptController and BlackBoard components field in the picture above will still remain. Is that behaviour appropriate? Thanks.
Hello again,
I will have to change the inspector there, so that the GameObject variables do not show since they do not belong to the graph. So this is a minor UI bug which I will need to fix. The gameobject variable should not show in both cases (gameobject alive or destroyed).
Thank you for pointing this out to me.
Join us on Discord: https://discord.gg/97q2Rjh
Author
Posts
Viewing 7 posts - 1 through 7 (of 7 total)
You must be logged in to reply to this topic.
Login
Register
By registering on this website you agree to our Privacy Policy.