Error Cannot access 'Cube1'. It is pending kill
can run my blueprint fine for 1, 3 sometimes 4 times then I get this error: Error Cannot access 'Cube1'. It is pending kill. Property: 'Cube1' from node Construction Script in blueprint Cube01 is this the garbage collector & is there anything I can do about it or should I worry about it?
using the Unreal Editor 4.6 release
using an 'on begin overlap' event to destroy actor
destroy actor works fine if I use a projectile and 'on component hit' event and doesn't create the error
'Cube1' is an imported static mesh, I use a box to trigger the events with the Cube1 being the root
thx for any help
I was receiving a similar error when trying to kill a particular actor as it left a volume. My solution was to change how I was destroying the actor; rather than using a "destroy actor" node, I set the actor's "auto destroy when finished" bool to true. UE lets the actor finish up whatever it was doing (in this case, I was adding a rotation to the actor) before killing it.
answered Dec 23 '14 at 08:53 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here