Description

Creating a MID makes the render state dirty and the engine will recreate a new scene proxy without the current attitude.
This results in rendering the object in incorrect location.

Here is a temporary work around : 

void UGeometryCollectionComponent::CreateRenderState_Concurrent(FRegisterComponentContext* Context)
{
    Super::CreateRenderState_Concurrent(Context);
//work around
    if (GetDynamicCollection())
    {
        TArray<FTransform> InitialTransform = GetDynamicCollection()->Transform.GetConstArray();
        SetRestState(MoveTemp(InitialTransform));
    }
//~work around
}
 
Steps to Reproduce
  1. Open attached repro project [Link Removed]
  2. Start PIE
  3. Press 1 key to generate geometry collection
  4. Press 2 key to Make MID on GCActor

Result

GC appears momentarily in initial position when falling/climbing.
When collapsed and stable, GC appears in initial position.

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-213066 in the post.

0
Login to Vote

Unresolved
ComponentUE - Simulation - Physics - Destruction
Affects Versions5.45.3
Target Fix5.6
CreatedApr 23, 2024
UpdatedOct 16, 2024
View Jira Issue