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).
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
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-231099 in the post.
0 |
Component | UE - Graphics Features |
---|---|
Affects Versions | 5.6, 5.5 |
Target Fix | 5.6 |
Created | Nov 20, 2024 |
---|---|
Updated | Nov 21, 2024 |