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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Add comment