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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Add comment