Why do i get errors for my turret rotation blueprints?
Hi, can someone please explain to me why i get these errors. When i click on play it works properly, the turrets are following the player and spawning projectiles. But after the session ends it gives a ton of errors. Thank you. :)
Your function "updaterotation" is calling GetPlayerPawn which, when the game is shutting down, returns invalid because the player pawn is destroyed/being destroyed.
When you call GetPlayerPawn, you should call IsValid before you actually reference it in SetWorldRotation.
answered Dec 10 '18 at 08:56 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here