The repo is the same from the first post. The error only shows after loading the scene, not the first time creating the action list player and the global BB.
OnValidate() is also called during deserialization, and SendTaskOwnerDefaults cannot work at that time, as not even accessing the gameObject from the component is allowed at that time. Unfortunately, there is no way (at least that I could find) to determine if the currently executing code is during deserialization or not.
Using Unity 5.5, forgot to mention.
Login
Register
By registering on this website you agree to our Privacy Policy.