Error "Blueprint Runtime Error"

Hello! I have an error. Blueprints:

error when im shooting:
Uploading: Снимок экрана 2023-09-21 211436.png…

I would be very grateful if you could help me.

Error: Blueprint Runtime Error: “Accessed None trying to read property GunRef”. Node: Set GunRange, ShootGraph; Graph: Event Graph; Function: Execute Undergraph BP Character; Blueprint: BP Character.
Unreal Engine version - 5.3.0

Hey @QuantumGames! Welcome to the forums!

You will need an interface or a cast to communicate between blueprints. Check out this non-Epic affiliated blueprint on blueprint communication:

Thank you!