Updating from 4.20-4.21 NewObject bug
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.
Follow this question
Once you sign in you will be able to subscribe for any updates here