Problem Set velocity - accessed none trying to read property target

Hi everyone, I have a problem with direction but I can’t resolve it: I create a BP base projectile with the logic and different child with the same logic. This projectile is a cast of the enemy and the player both, and the enemy has an added different cast that consist in multiple projectile (called barrage attack) in the same magic. In the base, I set ‘rotate to target’ and flag ‘rotation follow velocity’ in the BP. If I use this settings the normal projectile of the mage is correct, while the barrage attack is corrupted (it point to 0,0,0) → when I play whit this settings I recevied this message: Blueprint Runtime Error: “Accessed None trying to read property Target”. Node: Set Velocity Graph: EventGraph Function: Execute Ubergraph BP Projectile Base Blueprint: BP_ProjectileBase.‘’
While if I connect ‘eventbeginplay’ directly to ‘Ignore Actor When Moving’ (So I eliminate ‘rotate to target’) the normal projectile of the mage is broken (goes in a fixed direction), while the barrage attack is correct (the opposite) and I don’t receive the previous error message. The same for the player. Could you help me to resolve this? thanks





Hi, chick here if you pass a valid target in SpawnActor. If TargetActor is valid I would suggest to set target after spawn and not with Exposed property, because I encountered problems with Exposed properties myself, especially in multiplier