Description

Instanced Static Meshes will have incorrect velocity if a Material uses World Position Offset. Fixed WPO in a material causes significant velocity on the ISM.

This was also replicated in //UE5/Release-5.5/, CL: 37644472

Steps to Reproduce

1. Download the Licensee's test project, compile, and open (see addl info URL)
2. Open the map /Game/Maps/ISMWPO
3. Play the level in PIE
4. Observe that the box centered on the screen appears to have a serious vibration, while the box on the right does not.
5. Press F8 to eject
6. Select the box on the right of the screen.
7. Observe that it is a regular Static Mesh
8. Select the box at the center of the screen
9. Observe it contains a UMyTestComponent
10. Go to MyTestComponent.cpp
11. Observe that in "UMyTestComponent::BeginPlay()", it spawns an InstancedStaticMeshComponent
12. Observe that PerInstancePrevTransform is set to true on the new InstancedStaticMeshComponent
13. In the editor, visualize velocity.
14. Observe that the Instanced Static Mesh distinctly draws moving velocity even when the camera and it are still.
15. Observe that the Material "/Game/LevelPrototyping/Meshes/WPOMaterial" has a fixed World Position Offset of

{0,0,10}

Have Comments or More Details?

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

0
Login to Vote

Fixed
ComponentUE - Graphics Features
Affects Versions5.55.4.4
Target Fix5.6
Fix Commit37849400
CreatedNov 5, 2024
ResolvedNov 6, 2024
UpdatedNov 6, 2024
View Jira Issue