For some reason when I try to compile using IL2CPP in Mac Desktop or iOS, it tries to link in OLE32.dll, and can’t find it and dies. I submitted a case 990003, is anyone else seeing this/know a work around?
Before running IL2CPP, we run a tool called UnityLinker which removes unused code from the managed assemblies. After looking into your bug report I’ve found that there is a bug in UnityLinker which causes it to crash when processing an assembly that contains an embedded pdb or a native windows pdb. This bug only happens on OSX and Linux In your case, protobuff-net.dll
has an embedded pdb and this is what triggers the bug.
In case you need a workaround until the fix is available, I tossed together a tool that will remove embedded pdb information from assemblies. You can find it here GitHub - Unity-Technologies/symbolstrip: A tool to remove symbols from .NET Assemblies
1 Like
Cool thanks! That’ll be helpful to have.