Search Issue Tracker
Won't Fix
Votes
0
Found in
2021.3.30f1
2022.3.4f1
2023.1.12f1
2023.2.0b8
2023.3.0a4
Issue ID
UUM-48573
Regression
No
Transform and Rigidbody are out of sync when updating a GameObject
Reproduction steps:
1. Open the attached “Test Project” project
2. Open “SampleScene.unity” Scene
3. Enter the Play Mode
4. Observe the Game View
Expected result: “Projectile” GOs do not flicker
Actual result: “Projectile” GOs flicker at the start and at the end
Reproducible with: 2021.3.30f1, 2022.3.4f1, 2023.1.12f1, 2023.2.0b8, 2023.3.0a4
Reproducible on: Windows 10
Not reproducible on: No other environment tested
Notes:
- By uncommenting lines: 15 and 30, in the “Assets/Projectile.cs” file the issue no longer appears
- By uncommenting lines: 15 and 30, and commenting lines: 16 and 31, in the “Assets/Projectile.cs” file the issue is still visible
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
- Some UXML Template Asset foldouts appear enabled when all fields inside are disabled
- URP Terrain Demo crash on burst_signal_handler after Generating lighting
- Project window button icons are poorly visible and their shades differ in Light theme
- GC.Alloc called by HDRenderPipeline.LensFlareMergeOcclusionDataDrivenPass() when playing the default HDRP Sample Template project
- Automatic LOD fails and SRP Batcher incompatibility occurs when using spline-based quad-topology meshes
Resolution Note:
In this case, a gameobject is activated at old pose from an object pool, and that necessitates the need to update both the transform pose and the physics pose. It's advisable to activate objects from pool directly at the needed poses (i.e. set pose and then set active), so that all the components attached to them start working correctly from the get go.