LogProperty: Warning: Serialized Class /Script/Engine.StaticMeshComponent for a property of Class /Script/BattleGround.TankBarrel. Reference will be nullptred.
Property = ObjectProperty /Game/Tank/Tank_BP.Tank_BP_C:Barrel
Item = StaticMeshComponent /Game/Levels/BattleGround.BattleGround:PersistentLevel.Tank_BP2_2.Barrel
pretty sure it has nothing to with the fire() function i just added
i sorted this out by deleting the binaries and intermediate folder and restarting unreal. but now the barrel and turret are returning null. ive double checked the code and blueprints and cant see anything wrong.