I have a variable called HUDManager in my blueprint. While handling the Event Tick event, this variable seems to be accessible. However, when handling the Left Mouse Button Pressed event, the HUDManager variable appears to be set to ‘None’.
There is only one instance of this blueprint in my scene, so as far as I can tell this should be the same scope, same variable, same instance of the blueprint.
I’ve attached a picture of my blueprint. There are two active breakpoints. When breaking on the ‘Branch’ node, HUDManager is defined. When breaking on the ‘Print String’ node, HUDManager is None.
Any theories are appreciated, thank you