Unity Issue Tracker - "TypeLoadException" is thrown when using recursive types in MonoBehaviour inherited classes
Fixed
UUM-34854
"TypeLoadException" is thrown when using recursive types in MonoBehaviour inherited classes
Unity: Mono
Fixed
2023.2.X
2023.1.X
2022.3.X
2021.3.X
Won't Fix
2022.2.X
2020.3.X
2022.2 is now 2022.3.
So Please track under 2022.3
Reproduction steps:
1. Open the attached "IN-39414.zip" project
2. Open the "Assets/Scenes/SampleScene" Scene
3. Enter Play Mode
4. Observe the Console window
Expected result: No error is thrown
Actual result: "TypeLoadException" is thrown