npruehs / ue4-rts

Real-time strategy plugin and showcase for Unreal Engine 4.
MIT License
747 stars 151 forks source link

Fix crash when attempting to access pending kill actor #128

Closed iliags closed 4 years ago

iliags commented 4 years ago

In my project we have units that get upgraded to new ones which spawn a new actor. On occasion it crashes due to the old actor not being valid when it tries to access it here.

npruehs commented 4 years ago

Thanks for the PR! :)

HeadClot commented 4 years ago

Thank you for fixing this @iliags :)