Search Issue Tracker


Under Consideration for 2021.3.X, 2022.3.X



Found in



Issue ID




Transform Component is not accessible inside the Player when RuntimeInitializeOnLoadMethod is used



Reproduction steps:
1. Open the attached “ASDQWE” project
2. Open the “Assets/Scenes/SamplScene.unity” Scene
3. Enter the Play Mode
4. In the Game View, observe the text and the pink triangle Sprite
5. Exit the Play Mode
6. Build the Player (File > Build And Run)
7. Observe the Player

Expected result: A pink triangle Sprite and the text “hello (0.00, 0.00, 0.00)” are visible in both the Player and the Game View
Actual result: An error message “something broke at: …” is visible in the Player instead, resulting in a discrepancy between the Game View

Reproducible with: 2021.3.26f1, 2022.3.1f1, 2023.1.0a22
Not reproducible with: 2023.2.0a16
Fixed in: 2023.1.0a23

Reproducible on: Intel MacOS 13.3.1

Note: In the 2020.3.48f1 and 2021.3.26f1, and 2022.2.21f1 versions, the triangle is not visible inside the Game View

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.