Hmm. Do you actually use any variables in the suspect graph, that are set to read from a GlobalBlackboard?
The only occasion where I’ve found FindObjectOfType to be called from the GlobalBlackboard.Find method, is either:
1) If the Graph requests a GlobalBlackboard before GlobalBlackboard.Awake had a chance to be called.
2) If the GlobalBlackboard name requested is not found.
Do you maybe load and attached flowscripts in Awake? If so, would you try doing so in Start instead?
I will investigate the issue further, but would it be possible to get a reproduction case of how you load the graphs so that the FindObjectsOfType results in getting called?
Please let me know.
Thanks!
Join us on Discord: https://discord.gg/97q2Rjh
Login
Register
By registering on this website you agree to our Privacy Policy.