Reference a Component from details pane

I’m trying to set up a component based IO system and am running into an annoying problem. Basically, I have IOComponents and ContainerComponents. IOComponents are the way a player interacts with a ContainerComponent, and as such needs a reference to one.

I’d like the set this up by simply adding an IOComponent and a ContainerComponent to an actor, and going to the details of the IOComponent to set up the reference. The way it actually works is the editor opens a dropdown with nothing in it when I try to set up the ref, which forces me to set up the reference in the BP construction script.

In Googling around on this issue, I’ve frequently found the reasoning that the Actor is instantiated earlier than the components, and thus the components can’t rely on their initialization order. That feels a bit wrong, as it should be possible for Unreal to set up the references after all of the components are instantiated pretty easily, heck that’s exactly what I’m doing in the BP construction script. So basically, it looks like either I (and a fair portion of the community) am missing something, or Epic has a minor feature request coming their way.
Anybody know anything about this?

1 Like