Search Issue Tracker
Fixed in 5.5.0
Votes
0
Found in
5.3.1f1
Issue ID
762771
Regression
No
Object not affected by gravity if MovePosition() is executed before gravityScale is set
Repro steps:
1) Open the project and GameScene.scene
2) Play the scene
3) Press Space - notice gravityScale in Player's Rigidbody2D becomes 0
4) Press Esc - notice the position resets, gravityScale = 0.5 and the object falls again
5) Open PlayerController Script and swap lines 31 with 32
6) Repeat steps 2 to 4 - notice that position resets, gravityScale = 0.5 but the object doesn't fall and the gravity affect the object
Reproduced in: 5.4.0b2; 5.3.1p3; 5.2.3p3
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on GizmoDrawingPhysics2D::DrawCompositeCollider2DGizmo when opening a Scene that has corrupted GameObjects with Tilemap Components
- Scrolling vertically and horizontally is very fast when in Play Mode and RuntimeInputBackend is set to UIToolkitInputBackendOption.Default
- Crash on MemoryProfiler::UnregisterAllocation when initializing entities and leaving Play Mode with Occlusion Culling enabled
- Crash on mdb_page_alloc when opening a project that was running while the PC shut down
- macOS Player freeze when using RunInBackground and Command+Tabbing to and from the application
Add comment