Search Issue Tracker
Fixed in 2021.3.48f1
Fixed in 2021.3.X, 2022.3.X, 6000.0.X, 7000.0.0a20
Votes
0
Found in
2021.3.31f1
2022.3.11f1
2023.1.17f1
2023.2.0b14
2023.3.0a10
6000.0.0b11
6000.1.0a7
6000.2.0a1
Issue ID
UUM-53659
Regression
No
Method ran with RuntimeInitializeOnLoad is executed last when running an overload of the method and declaring it above the RuntimeInitializeOnLoad method
How to reproduce:
1. Open the attached “RuntimeInitializeOnLoad.zip“ project
2. Open the “SampleScene“ Scene
3. Enter Play Mode
Expected result: "Tagged method" is logged in the Console
Actual result: “RefTypeTest“ is logged in the Console
Reproducible with: 2021.3.31f1, 2022.3.11f1, 2023.1.17f1, 2023.2.0b14, 2023.3.0a10
Reproducible on: macOS 14.0 Sonoma (Intel)
Not reproducible on: No other environment tested
Notes:
- Also reproducible in Player
- The first declared overload is always called no matter the amount of overloads
- The user reported that commenting out the “RefTypeTest” method or moving it below the “ValueTypeTest” method and entering Play Mode, caused the Editor to hang, but when testing, the Editor didn’t hang, instead the “NullReferenceException: Object reference not set to an instance of an object“ error appeared in the Console
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Spring Joint shows only one anchor gizmo in Scene view when "Auto Configure Connected Anchor" is enabled
- Crash on _platform_memmove after entering large value in Graphics settings Preloaded Shaders field
- Disproportionally large impact on CPU frame time when writing to a rendering entity's LocalToWorld
- "Constant Force" Component numeric fields drift out of view while entering a really big value in the Inspector
- Scene view camera speed pop-up appears empty or cut off when Scene view is very narrow
Add comment