I’m having a pair of errors in a blueprint where I’m removing the HUD from the screen when the game is paused. The nodes that the error is originating from are used to switch the controls back to “Set Input Game Mode Game Only” when the game is unpaused.
Honestly, the blueprint is doing exactly what I want. I just want these errors to go away.
you’re not getting player controller in that part. if you just want to get rid of the error add an exception handler IS VALID? and check if is valid player controller then execute the things
You should also only be applying UI to Autonomous Proxies.
NPC’s, Authoritative Proxies (server) and Simulated Proxies (other clients in your sim) do not need UI.
Somewhere in BeginPlay you should be polling dependency references. Controller etc.
Use these references vs vanilla function calls… e.g. get player controller