World outliner is not showing component added in runtime

I added an Audio Component in runtime, the component is surely added to the actor, but when I highlight the actor in World Outliner, I don’t see it in the Details plane.

I checked the component owner by some blueprint node, it’s surely there, it’s just not showing.

Please see the screenshot below for more details.

The Audio Component is just for example, any component added results in the same behavior. Any idea why?

Hello marsonmao,

I have been able to reproduce your issue, and have entered a bug report, UE-22842. Thank you for your report.

Have a great day,

Sean Flint

Great, thank you!

Have the same issue in 4.27.2.

Is there a workaround?

Looks like it was deemed to be “By Design”
https://unreal-engine-issues.herokuapp.com/issue/UE-22842

Indeed, I figured that you can still see them by unchecking “Hide Construction Script Components in Details View”.

But there is still a problem for me. These are not hand editable and somehow they disappear as soon as I restart the editor. Perhaps it is meant to be used only in the run-time, but not in the editor. I need such class for editor to do automation in constructing elements. Trying to create C++ code now, but no luck in few days.

1 Like