Actor Reference bug in public Array element

Screenshot 2024-12-16 122621

I have a public array of actor references and I’m having an issue where, after dragging the actor reference from the Outliner to the Array element, it reads the reference incorrectly (as seen in the screenshot). If I change the array element to a different actor the reference changes but is still incorrect.

As far as I can tell, it reads the reference of the actor that immediately follows in the Outliner from the one I actually want. I can’t tell if I’m doing something wrong when setting the reference (although it’s hard to mess up a drag and drop) or if it’s a bug with Unreal…

1 Like

Ignore the name in the tooltip. If it says ‘actor9’ in the array and ‘actor9’ in the outliner, you’re done.

Screenshot 2024-12-16 221323

I wish it was just the tooltip, ha.

When I debug the blueprint the array carries the wrong data into the execution

How are you populating the array?

I’m adding them in-editor by dragging and dropping the actors directly from the Outliner.

Can you post a video of this? I only ever use the eye dropper or a query event.

I’ve tried the eyedropper and direct-select (the little arrow in the circle to the left of the eyedropper) but it keeps giving me the same issue.

I’m hoping to avoid using a query because it’s not something that needs to be dynamic in-game and I’d prefer to have control in the editor while I’m building the levels.

But at this point my biggest concern is whether or not this is a bug in Unreal or I’m doing something wrong. So as to avoid it as the project scales up.