Search Issue Tracker
Fixed
Fixed in 2021.3.48f1, 2022.3.55f1, 6000.0.20f1, 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
7000.0.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
- Channel remapping dropdown in the Terrain Layer does not open when clicked on the title
- The Editor freezes indefinitely when a large number of elements are entered in the Subgraphs or Categories lists
- Some Visual Effects package Assets links to documentation are not working
- Heatmap asset’s documentation button in the Inspector window leads to “Sorry... that page seems to be missing!” page when clicked
- Crash on MonoBehaviour::CallMethodIfAvailable when performing various actions
Add comment