Updating from 4.20-4.21 NewObject bug

Hi,

I found a bug, after I updated my unreal engine version. Maybe there is a workaround or something I didn’t do in 4.20 what is needed to fix that bug.
In my editor plugin I create a new UActorComponent derived Object with NewObject(this) inside an Actor I want to attach the component to. In 4.20 that worked very good, in 4.21 I can’t see the ActorComponent in Details panel ->Hierarchie of the Actor anymore. I can access the ActorComponent in Sequencer, where I use the component, but I can’t delete the ActorComponent via the Details Panel or change properties of it. So I think there is a visual bug because I know that there is a component attached to this actor.

To reproduce the bug:

-Build a simple plugin which is running in editor mode.

-With click on a button or something else run a function where you use NewObject(this) inside an actor derived class

-Go to Details panel of the actor and check if you can see an ActorComponent in the Hierarchie section of if.

-Add the Actor in Sequencer and check if you can track the component inside the Sequencer.

On my side I can’t see it in DetailsPanel->Hierarchie section, but I can track the actorcomponent of the actor in sequencer.

I already read the documentation of the new update and found the bIsVisualizationComponent what is added, but it doesn’t change anything for me.

I have the same problem, just making a box component in the ‘PostEditChangeProperty’ and I’m 100% sure it is attaching the box to my root component and its creating it, but it doesn’t appear in the editor.

Have you found the answer?

Unfortunatly I didn’t fix it yet but I had no time to fix the bug because I had other tasks to do. I think I need to find an answer in a few weeks when my plugin should get used if you find a workaround before pls tell me.

Yep i have the exact same issue. All of my code works as intended, but it is not available in the details pane.