Description

The call to UpdateInstanceTransform within UInstancedStaticMeshComponent::UpdateInstanceTransformById(..) sends bTeleport in place of bMarkRenderStateDirty that was added as part of Unreal Engine 5.5.

UpdateInstanceTransform(PrimitiveInstanceDataManager.IdToIndex(InstanceId), NewInstanceTransform, bWorldSpace, bTeleport);

ENGINE_API virtual bool UpdateInstanceTransform(int32 InstanceIndex, const FTransform& NewInstanceTransform, bool bWorldSpace=false, bool bMarkRenderStateDirty=false, bool bTeleport=false);

This can also be observed in the latest on //UE5/Main (CL 38281066).

Steps to Reproduce

1. Open any blank project’s code solution
2. Open the file InstancedStaticMesh.cpp within the engine
3. Inspect the function UInstancedStaticMeshComponent::UpdateInstanceTransformById
4. Observe the call to UpdateInstanceTransform passes bTeleport in place of the new parameter bMarkRenderStateDirty instead of bTeleport

Have Comments or More Details?

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

0
Login to Vote

Unresolved
ComponentUE - Graphics Features
Affects Versions5.65.5
Target Fix5.6
CreatedNov 20, 2024
UpdatedNov 21, 2024
View Jira Issue