Search Issue Tracker
Fixed in 5.3.6
Votes
0
Found in
5.3.5f1
Issue ID
809995
Regression
No
iOS build fails with .NET 2.0 in mscorlib.dll
Steps to reproduce:
1) Open the attached project.
2) Build for iOS.
The build fails with error:
IL2CPP error for method 'System.Xml.XmlDocument NPOI.Util.DocumentHelper::LoadDocument(System.IO.Stream)' in assembly '/Users/"ProjectLocation"/Temp/StagingArea/Data/Managed/mscorlib.dll'
Additional information: Build a development build for more information. An instruction cannot end both a catch and a finally block!
Fails with both Mono2x and IL2Cpp.
The build succeeds if API Compatibility Level is set to .NET 2.0 Subset.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Memory is allocated but nothing happens when duplicating Values with the duplication shortcut in the Inspector
- Frame rate becomes lower after turning vertical sync on and off when in the Player on macOS
- Memory Profiler fails to enumerate a specific Heap Segment
- Performance gets worse when updating the Material of Tilemap
- Script causes Console error "Reading pixels out of bounds of the current active render texture" when entering the Play mode on a HDRP project
Add comment