Search Issue Tracker
Fixed in 2022.1.X
Fixed in 2020.3.X, 2021.1.X, 2021.2.X
Votes
2
Found in
2020.2.0a8
2020.3
2021.1
2021.1.19f1
2021.2
2022.1
Issue ID
1362362
Regression
Yes
Physics simulation and FixedUpdates are run during the splashscreen
How to reproduce:
1. Open the project "positionBug"
2. Enable the Development Build checkbox (File > Build Settings > Development Build)
3. Build and Run the project
4. Inspect the Development Console
Expected result: The player GameObject Transform's position is logged at (-6, 0, 0)
Actual result: The player GameObject Transform's position is logged at (-6, -83.5, 0)
Reproducible with: 2020.2.0a8, 2020.3.17f1, 2021.1.19f1, 2021.2.0b10, 2022.1.0a8
Not reproducible with: 2019.4.30f1, 2020.2.0a7
Note: Does not reproduce on Mac
-
lowerthird
Sep 07, 2021 05:18
This seems to be caused by Rigidbody2D being simulated during the splash screen in the built player. Workarounds that circumvent this issue for now:
1. Disable the splash screen from Player Settings.
2. Set Rigidbody2D.simulated = false in the inspector and change it to true at an appropriate point at runtime.
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
- [2023.2] HDRP Asset Settings Helper throws a NullReferenceException
- [URP] SubmitRenderRequest with NativeRenderPass + Upscaling doesn't work
- “ArgumentOutOfRangeException” error appears when inserting a double character if using “SetValueWithoutNotify” on UI Toolkit’s TextField
- Particle System emission delays between particle generations when playing the simulation
- EditorUtility.DisplayDialog is not shown when Input.GetMouseButtonDown is called a second time
Resolution Note (fix version 2022.1):
Fixed in: 2022.1.0a12
Resolution Note (fix version 2021.2):
Fixed in: 2021.2.0b16
Resolution Note (fix version 2021.1):
Fixed in: 2021.1.26f1
Resolution Note (fix version 2020.3):
Fixed in: 2020.3.21f1