Search Issue Tracker

By Design

Votes

2

Found in

2020.3.39f1

2021.3.10f1

2022.1.17f1

2022.2.0b8

2023.1.0a11

Issue ID

UUM-14412

Regression

No

unity_MatrixPreviousM is not updating when the GameObject changes position

--

-

Reproduction steps:
1. Open the attached project “CustomSRP_MotionVectors”
2. Open the “Scene 01_MotionVector” Scene
3. Enter Play mode
4. Enable the Frame Debugger
5. Select one of the “Draw Mesh” calls
6. Observe the value of the unity_MatrixPreviousM matrix
7. Disable the Frame Debugger and unpause the Scene
8. After the positions of the GameObjects change, enable the Frame Debugger
9. Select the same “Draw Mesh” call
10. Observe the value of the unity_MatrixPreviousM matrix

Expected result: The value is updated
Actual result: The value is the same

Reproducible with: 2020.3.39f1, 2021.3.10f1, 2022.1.17f1, 2022.2.0b8, 2023.1.0a11

Reproducible on: macOS 12.4 (Intel)

  1. Resolution Note:

    Camera only generates motion vector data when the depthMode is set correctly. (User error)

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.