Search Issue Tracker
Active
Under Consideration for 2021.3.X
Votes
1
Found in
2021.3.18f1
Issue ID
UUM-28508
Regression
No
RuntimeInitializeOnLoadMethodAttribute error on multiple platforms when trying to build (com.unity.film-internal-utilities)
How to reproduce:
1. Open the user’s attached project “2021_HDRP_Bug_Reports.zip”
2. Build the project
Expected result: No errors occur
Actual result: {{RuntimeInitializeOnLoadMethodAttribute: Is not allowed on a Generic class MonoBehaviourSingleton`1.RunOnStart}} errors occurs
Reproducible with: 2021.2.19f1, 2021.3.18f1
Not reproducible with: 2022.1.0a15, 2022.1.24f1, 2022.2.5f1, 2023.1.0b2, 2023.2.0a4
Could not test with: 2020.3.44f1, 2022.1.0a1, 2022.1.0a14 (due to blank errors)
Reproduced on: Windows 10, macOS Monterey 12.3.1 (Intel)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- PlayerPrefs get corrupted when a minimized fullscreen Player is closed through the Taskbar
- "To Debug, run app with -diag-job-temp-memory-leak-validation cmd line argument. This will output the callstacks of the leaked allocations." warning is printed when JobTempMemoryLeakValidation switch is enabled
- Main Thread stalling when loading Audio Source asset asynchronously while preloading another Audio Source asset
- Material artifacts occur in the Material Preview window when baked lighting is applied to scenes
- Package Manager Filters (Status) dropdown is different color than Packages, Sort or Add package dropdowns
Add comment