Search Issue Tracker
Fixed in 2021.1.X
Fixed in 2020.1.X, 2020.2.X
Votes
0
Found in
2020.1
2020.1.2f1
2020.2
Issue ID
1274820
Regression
No
Update method is called before any Physics 2D callbacks when Simulation Mode property is set to Update
How to reproduce:
1. Open the user's attached "Physics Update Test Project.zip" project
2. Open the "SampleScene" Scene
3. *Added by Melv: Go to Physics 2D Settings and change Simulation Mode to "Update" as the project it set to "FixedUpdate"!
4. Make sure the Console window is visible
5. Enter Play Mode
6. Press the "Pause" button after entering Play Mode
7. Press the "Step" button until "trigger enter" message appears in the Console log (See attached "1274820_repro.mp4")
Expected result: The next log after "trigger enter" is "LateUpdate" (Update method is called before the OnTriggerEnter2D callback)
Actual result: The next log after "trigger enter" is "Update" (OnTriggerEnter2D callback is called before the Update method)
Reproducible with: 2020.1.4f1, 2020.2.0b2
Could not test with: 2018.4.27f1 and 2019.4.9f1 (Simulation Mode is not supported, Auto Simulation property was used)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Add comment