I’ve investigated further. The warning about the null blackboard was related to NodeCanvas. I’ve got rid of it and it is not related to the issue.
I’m still having these performance spikes caused by FindObjectOfType.
…
Further investigation and profiling got me this.
For every 200 ms spike when creating a new object with a graph, I get:
1. 100 ms spent for EditorApplication.RepaintHierarchyWindow() (which can be disabled in the preferences)
2. 30 ms spent for instantianting a copy in GraphOwner.Awake
3. 20 ms spent on outputing the log
Developer at Lazy Bear Games
http://www.lazybeargames.com
Login
Register
By registering on this website you agree to our Privacy Policy.