Reproduction steps:
1. Open the attached project "ReproProj"
2. Open the “/Assets/ScriptExecutionOrderBug/ScriptExecutionOrderBugScene.unity” Scene
3. Switch platform to Android (File > Build Settings > Android > Switch Platform)
4. Open Android LogCat
5. Build And Run on Quest 2 (File > Build Settings > Build And Run)
6. Observe Android LogCat
Expected result: Error messages are being output in order
Actual result: Error message “ShouldRunFifth” is being output second
Reproducible with: 2022.3.15f1
Not reproducible with: 2021.3.34f1, 2023.2.7f1, 2023.3.0b4
Fixed in: 2022.3.16f1
Reproducible with devices:
VLNQA00379, Oculus (Quest 2), Android 10, CPU: Snapdragon XR2, GPU: Adreno (TM) 650
VLNQA00318, Oneplus OnePlus 7 Pro (GM1913), Android 11, CPU: Snapdragon 855 SM8150, GPU: Adreno (TM) 640
Not reproducible with devices:
VLNQA00325, Samsung Galaxy Note10 (SM-N970F), Android 12, CPU: Exynos 9 (9825), GPU: Mali-G76
Testing environment: Windows 10 Enterprise 21H2
Not reproducible on: No other environment tested
Note:
- Does not reproduce in Play Mode
- Does not reproduce with Windows Standalone Player