I added a turret to a building but I'm getting a weird actor error sometimes. The turret duplicates itself and a frozen copy of the turret stays behind.
It onlyhappens when the turret's target is killed by an allied unit. If it's not firing, or if it's fighting a battle all on it's own, it's fine.
When I lift up the building, the problem fixes itself either upon liftoff or when the structure lands. Very weird, but I am not so much an expert at turret attachment. Here's what the duplicate turret looks like. 1 Rotating, firing, and acquiring targets normally, the other frozen in place and bugged out.
Lifted off, frozen artifact of actor sometimes remains.
Yeah I thought that too so I did a debug where the the turret actor is only created when a specific behavior is given to the structure, and the only way the behavior is brought into the game is via this one debug trigger. Yet a copy of the turret will still appear during a battle when switching targets after its original target is killed (very weird time to create it, regardless).
A few patches ago this was working fine. This makes me think I've discovered a bug, but I hate coming to that conclusion. Thanks for your comment.