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:

2 Likes

Thank you!

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.