Pending kill, but why?

Hi, I am making a For Loop to place 10 identical instances of an object in my game level, arranged in a row.
I have a variable to keep track of the last object placed, and each time an object is spawned it casts to the variable and sets the ID of the last object placed to be the new data in the variable.

All objects are placed just fine in the level, but then after a couple of seconds they are all removed, and I get an editor error about not being able to access the variable because an object is pending kill.

Why are my objects being killed so mercilessly? :frowning:

Never mind, I just realized that the object was still set to have a default 1.0 second lifetime :stuck_out_tongue: