Reply To: FindObjectsOfType – performance impact

FlowCanvas Forums Support FindObjectsOfType – performance impact Reply To: FindObjectsOfType – performance impact

#1677
Gavalakis
Keymaster

Hello,

Hmm. The GlobalBlackboard.Find method already uses a cached List and only fallbacks to FindObjectsOfType in very certain cases, like for example when the requested GlobalBlackboard name is not found, otherwise the cached reference is fetched from the list that is populated on Awake and OnDestroy of a GlobalBlackboard.

Could it be that your flowscripts are asking for a Globalblackboard name that does not exists, or in other words, do you get any logs in the console like this: “Parameter ‘X’ failed to promote to a variable, because Blackboard named ‘Y’ could not be found” ?

Thanks.

Join us on Discord: https://discord.gg/97q2Rjh