Search Issue Tracker
Won't Fix
Votes
0
Found in
2018.3.0a1
2018.3.0b2
Issue ID
1084572
Regression
Yes
Creating a certain struct in the script crashes the Editor on Begin MonoManager ReloadAssembly
To reproduce:
1. In a new project, create a script and write the following in the script:
public struct NavigationNode {
public NavigationNode? parent;
}
2. Save the script and go back to Unity
3. Observe that Unity simply closes during compilation
Expected: the Editor doesn't crash
Reproduced in 2018.3.0a1, 2018.3.0b2, 2018.3.0b3, 2019.1.0a2
Did not reproduce in 2018.2.10f1
Regression introduced in 2018.3.0a1
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Standalone Player crashes with "TDerived GetOrLoad<TDerived>() where TDerived : T" when IL2CPP Code generation is set to "Faster (smaller) Builds"
- IndexOutOfRangeException and InvalidOperationException when logging XML string
- Script missing in "Assets/Settings/Mobile_Renderer/GlobalVolumeFeature" of "com.unity.template.urp-blank" template
- “Font Asset Creator - Error Code [Invalid_File_Structure]…“ error is logged when generating Font Assets from fonts with meta files from previous Editor versions
- Input.mousePosition returns (NaN, NaN, 0.00) when Scene view is opened
Resolution Note:
This is an interaction between the new Roslyn compiler at 2018.3 and the .NET reference assemblies we compile against. The reference assemblies are missing fields which doesn't allow compiler to infer the infinite type recursion. This is being tracked as a mono issue: https://github.com/mono/mono/issues/7859