x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

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.

Product Version: UE 4.21
Tags:
more ▼

asked Feb 07 '19 at 01:19 PM in C++ Programming

avatar image

Kevin-Inreal
1 1

avatar image luis9303 Apr 23 '19 at 07:06 PM

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?

avatar image Kevin-Inreal Apr 24 '19 at 08:10 AM

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.

avatar image BaptisteWarcave May 14 '19 at 03:29 PM

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

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question