Search Issue Tracker
Won't Fix
Votes
0
Found in
5.5.0p1
Issue ID
860879
Regression
No
Building with Mono.Cecil crashes in UnitySerializationLogic:IsOrExtendsGenericDictionary
Steps to reproduce:
1. Open attached project
2. Build on any platform
Expected behaviour: Project builds with no errors or crashes
Actual behaviour: Editor crashes after a few seconds
Reproduced on: 5.5.0p1, 5.6.0b1
Cannot check on 5.4 as it is not forwards compatible.
Won't Fix:
The problem is that the version of Mono.Cecil.dll that is being used in the project is incompatible with that used by Unity internally.
This can be fixed as follows:
On Windows, copy over the Mono.Cecil.dll from <unity_install_folder>\Editor\Data\MonoBleedingEdge\lib\mono\gac\Mono.Cecil\0.9.5.0__0738eb9f132ed756 (where that last folder name will probably vary by Unity version), to Assets\Mono\Cecil\Editor\Libs in the project folder.
On Mac, copy over the Mono.Cecil.dll from <unity.app : Show Package Contents>/Contents/MonoBleedingEdge/lib/mono/gac/Mono.Cecil/0.9.5.0__0738eb9f132ed756 (where that last folder name will probably vary by Unity version) to Assets\Mono\Cecil\Editor\Libs in the project folder.
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