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"

"Assertion failed" trying to edit UInstancedStaticMesh created in C++ in Editor

I extend AActor in C++ and create a property of type TSubobjectPtr<UInstancedStaticMeshComponent> like this:

Thing.h

 UPROPERTY(VisibleAnywhere, EditInline, Category = MyCategory)
 TSubobjectPtr<UInstancedStaticMeshComponent> MyISM;

I then do the following

Thing.cpp

 AThing::AThing(const class FPostConstructInitializeProperties& PCIP)
     : Super(PCIP)
 {
     TSubobjectPtr<USphereComponent> DummyComp = PCIP.CreateDefaultSubobject<USphereComponent>(this, TEXT("SphereComp"));
     DummyComp->InitSphereRadius(1.0f);
     RootComponent = DummyComp;
 
     MyISM = PCIP.CreateDefaultSubobject<UInstancedStaticMeshComponent>(this, TEXT("MyISM"));
     MyISM->AttachParent = RootComponent;
     MyISM->SetMobility(EComponentMobility::Static);
 }

I then extend the Class in a Blueprint, place the blueprint in the level, and when I try to edit the "Instance Start Culling" value in the "Details" pane, I get

ErrorString 0x000000000066c440 L"Assertion failed: !EditReregisterContexts.Find(this)" wchar_t[4096]

May be a duplicate of https://answers.unrealengine.com/questions/27408/modifying-properties-of-uinstancedstaticmeshcompon.html

Product Version: Not Selected
Tags:
more ▼

asked Jun 09 '14 at 04:07 PM in Bug Reports

avatar image

testos-tyrone
1 2 2 3

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

1 answer: sort voted first

Hi testos-tyrone,

Thank you for the information that you provided. I was able to reproduce the issue that you described, and I have submitted a ticket for it to be investigated further.

more ▼

answered Jul 02 '14 at 11:10 PM

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
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