Global Blackboards are persistant between scenes (DontDestroyOnLoad) by default. If your player is also persistant, the reference to it would not be lost, but if the player is not, then yes, you would need to assign the reference at the start of the scene.
The FSM, does not cache the refence in any way, so it should read the the new value of the “player” variable on the Global BB.
Is the player reference on the Gloabal BB correctly assigned and not null or missing when the error is thrown?
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.