Search Issue Tracker
By Design
Votes
0
Found in
2022.3.65f1
6000.0.56f1
6000.2.1f1
6000.3.0a5
6000.4.0a1
6000.5.0a1
Issue ID
UUM-114510
Regression
No
Position and rotation of a GameObject with Rigidbody reset when it is enabled and moved in the same Update call and the frame rate is low
How to reproduce:
1. Open the attached “IN-111065” project
2. Open the “SampleScene”
3. In the Game View, enable Stats
4. Enter Play mode
5. Observe the Transform positions in the Console window
6. Observe the result
Expected result: The fired objects appear in the position and rotation as shown in the Console window
Actual result: The fired objects position and rotation resets to 0,0,0
Reproducible with: 2022.1.0a6, 2022.3.65f1, 6000.0.56f1, 6000.2.1f1, 6000.3.0a5
Not reproducible with: 2021.3.55f1, 2022.1.0a5
Reproduced on: Windows 11
Not reproduced on: No other environment tested
Workaround: Using FixedUpdate() instead of Update()
Notes:
- Also reproducible in Player
- Low framerate is not strictly necessary to reproduce the issue- it’s likely that a FixedUpdate is called in between Updates
- Once all “Bullet” GameObjects are active, the issue no longer reproduces
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Different text alignment in the column header in Entities "System" window
- Objects with Universal Render Pipeline/Particles/Lit shader are always lit up when changing their Rendering Layer Mask
- PolySpatial “Trying to set shader on a Material Variant.” error is printed in the console when entering Play Mode
- Error “Shader error in 'YSCloudCover': call to 'tex3D' is ambiguous at Assets/YSCloudCoverText.shader(606) (on d3d11)“ is present when compiling tex3D shader with DXC
- Placeholder asset is not loaded with Advertisement Legacy sample when using the latest version of the package
Resolution Note:
This issue is a limitation of the interpolation/extrapolation code used in Physics. We're tracking it internally as part of our efforts for improving the "readback" logic for the physics simulation.
As advised in the previous comments within this ticket please refrain from changing rigidbody's trs position/rotation within ::Update and instead use ::FixedUpdate.