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

Windows

-

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

  1. Response avatar

    Resolution Note (fix version 2022.1):

    Fixed in: 2022.1.0a12

  2. Response avatar

    Resolution Note (fix version 2021.2):

    Fixed in: 2021.2.0b16

  3. Response avatar

    Resolution Note (fix version 2021.1):

    Fixed in: 2021.1.26f1

  4. Response avatar

    Resolution Note (fix version 2020.3):

    Fixed in: 2020.3.21f1

Comments (1)

  1. 0f1f2f1fe49d35c80cf5605c4984c1dd?d=mm

    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

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.