How to Handle TypeLoadException when building the prooject for UWP?
Hello.
I'm trying to include some external library into my unity project and everything is working fine in unity editor. But when I run the solution created by Unity for UWP I get this error:
System.TypeLoadException: Array of type 'SymbolHelper' from assembly 'Xfinium.Pdf.Uwp, Version=7.1.0.0, Culture=neutral, PublicKeyToken=null' cannot be created because base value type is too large. As you can see the dll is compiled for UWP
it is thrown at m_AppCallbacks.SetBridge(m_Bridge); in Initialize method of App.cs
Unity version is 2018.1.0b4
What I'm doing wrong? Is it possible at all?
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612151637im_/https://answers.unity.com/themes/thub/images/avi.jpg)