I’m having trouble getting a native plugin to load in a Unity application on the Hololens.
I’m trying to using the SkiaSharp SVG (NuGet Gallery | SkiaSharp.Svg 1.60.0) to render SVG graphics. (I know there is a Unity Vector Graphics preview, but it doesn’t support the text element which is important in the graphics I’ll be rendering.)
The package has a couple managed dlls, and native dlls for x64 and x86. (They are tagged appropriately for x86/x64 in the Editor.)
A UWP build (x86/Release) runs on my local machine, but fails in the HoloLens emulator and in the Hololens itself. The emulator complains that it cannot find the DLL libSkiaSharp. This is the native plugin.
Anyone know what I’m doing wrong?
Thanks.
The output below seems to indicate that libSkiaSharp was loaded and then unloaded.
‘SPEAR.exe’ (Win32): Loaded ‘U:\Users\DefaultAccount\AppData\Local\DevelopmentFiles\SPEARVS.Release_Win32.mew9\SPEAR.exe’. Symbols loaded.
‘SPEAR.exe’ (Win32): Loaded ‘C:\Windows\System32\ntdll.dll’. Cannot find or open the PDB file.
‘SPEAR.exe’ (Win32): Loaded ‘C:\Windows\System32\KernelBase.dll’. Cannot find or open the PDB file.
‘SPEAR.exe’ (Win32): Loaded ‘C:\Windows\System32\combase.dll’. Cannot find or open the PDB file.
‘SPEAR.exe’ (Win32): Loaded ‘C:\Windows\System32\ucrtbase.dll’. Cannot find or open the PDB file.
‘SPEAR.exe’ (Win32): Loaded ‘C:\Windows\System32\rpcrt4.dll’. Cannot find or open the PDB file.
‘SPEAR.exe’ (Win32): Loaded ‘C:\Windows\System32\kernel32legacy.dll’. Cannot find or open the PDB file.
‘SPEAR.exe’ (Win32): Loaded ‘C:\Windows\System32\bcryptprimitives.dll’. Cannot find or open the PDB file.
‘SPEAR.exe’ (Win32): Loaded ‘U:\Programs\WindowsApps\Microsoft.VCLibs.140.00_14.0.26706.0_x86__8wekyb3d8bbwe\vccorlib140_app.dll’. Cannot find or open the PDB file.
‘SPEAR.exe’ (Win32): Loaded ‘U:\Programs\WindowsApps\Microsoft.VCLibs.140.00_14.0.26706.0_x86__8wekyb3d8bbwe\vcruntime140_app.dll’. Cannot find or open the PDB file.
‘SPEAR.exe’ (Win32): Loaded ‘U:\Programs\WindowsApps\Microsoft.VCLibs.140.00_14.0.26706.0_x86__8wekyb3d8bbwe\msvcp140_app.dll’. Cannot find or open the PDB file.
‘SPEAR.exe’ (Win32): Loaded ‘C:\Windows\System32\oleaut32.dll’. Cannot find or open the PDB file.
‘SPEAR.exe’ (Win32): Loaded ‘C:\Windows\System32\msvcp_win.dll’. Cannot find or open the PDB file.
‘SPEAR.exe’ (Win32): Loaded ‘C:\Windows\System32\forwarders\kernel32.dll’. Cannot find or open the PDB file.
The thread 0xb94 has exited with code 0 (0x0).
‘SPEAR.exe’ (Win32): Loaded ‘C:\Windows\System32\procthreadexthost.dll’. Cannot find or open the PDB file.
‘SPEAR.exe’ (Win32): Loaded ‘C:\Windows\System32\msvcrt.dll’. Cannot find or open the PDB file.
‘SPEAR.exe’ (Win32): Loaded ‘C:\Windows\System32\kernel.appcore.dll’. Cannot find or open the PDB file.
‘SPEAR.exe’ (Win32): Loaded ‘C:\Windows\System32\twinapi.appcore.dll’. Cannot find or open the PDB file.
‘SPEAR.exe’ (Win32): Loaded ‘C:\Windows\System32\sechost.dll’. Cannot find or open the PDB file.
‘SPEAR.exe’ (Win32): Loaded ‘C:\Windows\System32\bcrypt.dll’. Cannot find or open the PDB file.
‘SPEAR.exe’ (Win32): Loaded ‘C:\Windows\System32\WinTypes.dll’. Cannot find or open the PDB file.
‘SPEAR.exe’ (Win32): Loaded ‘C:\Windows\System32\SHCore.dll’. Cannot find or open the PDB file.
‘SPEAR.exe’ (Win32): Loaded ‘C:\Windows\System32\Windows.UI.dll’. Cannot find or open the PDB file.
‘SPEAR.exe’ (Win32): Loaded ‘C:\Windows\System32\win32u.dll’. Cannot find or open the PDB file.
‘SPEAR.exe’ (Win32): Loaded ‘C:\Windows\System32\MinUser.dll’. Cannot find or open the PDB file.
‘SPEAR.exe’ (Win32): Loaded ‘C:\Windows\System32\dcomp.dll’. Cannot find or open the PDB file.
‘SPEAR.exe’ (Win32): Loaded ‘C:\Windows\System32\gdi32.dll’. Cannot find or open the PDB file.
‘SPEAR.exe’ (Win32): Loaded ‘C:\Windows\System32\gdi32min.dll’. Cannot find or open the PDB file.
‘SPEAR.exe’ (Win32): Loaded ‘C:\Windows\System32\actxprxy.dll’. Cannot find or open the PDB file.
‘SPEAR.exe’ (Win32): Loaded ‘C:\Windows\System32\CoreMessaging.dll’. Cannot find or open the PDB file.
‘SPEAR.exe’ (Win32): Loaded ‘C:\Windows\System32\CoreUIComponents.dll’. Cannot find or open the PDB file.
‘SPEAR.exe’ (Win32): Loaded ‘C:\Windows\System32\advapi32legacy.dll’. Cannot find or open the PDB file.
‘SPEAR.exe’ (Win32): Loaded ‘C:\Windows\System32\sspicli.dll’. Cannot find or open the PDB file.
‘SPEAR.exe’ (Win32): Loaded ‘C:\Windows\System32\Windows.Graphics.dll’. Cannot find or open the PDB file.
‘SPEAR.exe’ (Win32): Loaded ‘C:\Windows\System32\Windows.Shell.ServiceHostBuilder.dll’. Cannot find or open the PDB file.
‘SPEAR.exe’ (Win32): Loaded ‘U:\Users\DefaultAccount\AppData\Local\DevelopmentFiles\SPEARVS.Release_Win32.mew9\UnityPlayer.dll’. Cannot find or open the PDB file.
‘SPEAR.exe’ (Win32): Loaded ‘C:\Windows\System32\mfreadwrite.dll’. Cannot find or open the PDB file.
‘SPEAR.exe’ (Win32): Loaded ‘C:\Windows\System32\d3d11.dll’. Cannot find or open the PDB file.
‘SPEAR.exe’ (Win32): Loaded ‘C:\Windows\System32\dxgi.dll’. Cannot find or open the PDB file.
‘SPEAR.exe’ (Win32): Loaded ‘C:\Windows\System32\mfplat.dll’. Cannot find or open the PDB file.
‘SPEAR.exe’ (Win32): Loaded ‘C:\Windows\System32\ws2_32.dll’. Cannot find or open the PDB file.
‘SPEAR.exe’ (Win32): Loaded ‘C:\Windows\System32\crypt32.dll’. Cannot find or open the PDB file.
‘SPEAR.exe’ (Win32): Loaded ‘C:\Windows\System32\MMDevAPI.dll’. Cannot find or open the PDB file.
‘SPEAR.exe’ (Win32): Loaded ‘C:\Windows\System32\cfgmgr32.dll’. Cannot find or open the PDB file.
‘SPEAR.exe’ (Win32): Loaded ‘C:\Windows\System32\devobj.dll’. Cannot find or open the PDB file.
‘SPEAR.exe’ (Win32): Loaded ‘C:\Windows\System32\msasn1.dll’. Cannot find or open the PDB file.
‘SPEAR.exe’ (Win32): Loaded ‘C:\Windows\System32\propsys.dll’. Cannot find or open the PDB file.
‘SPEAR.exe’ (Win32): Loaded ‘C:\Windows\System32\D3D12.dll’. Cannot find or open the PDB file.
‘SPEAR.exe’ (Win32): Loaded ‘C:\Windows\System32\msvcp110_win.dll’. Cannot find or open the PDB file.
‘SPEAR.exe’ (Win32): Loaded ‘C:\Windows\System32\RTWorkQ.dll’. Cannot find or open the PDB file.
‘SPEAR.exe’ (Win32): Loaded ‘C:\Windows\System32\ExecModelClient.dll’. Cannot find or open the PDB file.
‘SPEAR.exe’ (Win32): Loaded ‘C:\Windows\System32\execmodelproxy.dll’. Cannot find or open the PDB file.
‘SPEAR.exe’ (Win32): Loaded ‘C:\Windows\System32\Windows.Storage.ApplicationData.dll’. Cannot find or open the PDB file.
‘SPEAR.exe’ (Win32): Loaded ‘C:\Windows\System32\windows.storage.dll’. Cannot find or open the PDB file.
‘SPEAR.exe’ (Win32): Loaded ‘C:\Windows\System32\powrprof.dll’. Cannot find or open the PDB file.
‘SPEAR.exe’ (Win32): Loaded ‘C:\Windows\System32\shlwapi.dll’. Cannot find or open the PDB file.
‘SPEAR.exe’ (Win32): Loaded ‘C:\Windows\System32\profapi.dll’. Cannot find or open the PDB file.
‘SPEAR.exe’ (Win32): Loaded ‘C:\Windows\System32\MrmCoreR.dll’. Cannot find or open the PDB file.
‘SPEAR.exe’ (Win32): Loaded ‘U:\Users\DefaultAccount\AppData\Local\DevelopmentFiles\SPEARVS.Release_Win32.mew9\libSkiaSharp.dll’. Cannot find or open the PDB file.
‘SPEAR.exe’ (Win32): Unloaded ‘U:\Users\DefaultAccount\AppData\Local\DevelopmentFiles\SPEARVS.Release_Win32.mew9\libSkiaSharp.dll’
‘SPEAR.exe’ (Win32): Loaded ‘C:\Windows\System32\InputHost.dll’. Cannot find or open the PDB file.
Exception thrown at 0x76DF2502 in SPEAR.exe: Microsoft C++ exception: Cn::XH at memory location 0x013FE364.
‘SPEAR.exe’ (Win32): Loaded ‘C:\Windows\System32\Windows.Devices.Enumeration.dll’. Cannot find or open the PDB file.
‘SPEAR.exe’ (Win32): Loaded ‘C:\Windows\System32\biwinrt.dll’. Cannot find or open the PDB file.
‘SPEAR.exe’ (Win32): Loaded ‘C:\Windows\System32\deviceassociation.dll’. Cannot find or open the PDB file.
‘SPEAR.exe’ (Win32): Loaded ‘C:\Windows\System32\UiaManager.dll’. Cannot find or open the PDB file.
‘SPEAR.exe’ (Win32): Loaded ‘C:\Windows\System32\Windows.UI.Core.TextInput.dll’. Cannot find or open the PDB file.
‘SPEAR.exe’ (Win32): Loaded ‘C:\Windows\System32\TextInputFramework.dll’. Cannot find or open the PDB file.
‘SPEAR.exe’ (Win32): Loaded ‘C:\Windows\System32\cryptbase.dll’. Cannot find or open the PDB file.
‘SPEAR.exe’ (Win32): Loaded ‘U:\Users\DefaultAccount\AppData\Local\DevelopmentFiles\SPEARVS.Release_Win32.mew9\GameAssembly.dll’. Symbols loaded.
‘SPEAR.exe’ (Win32): Loaded ‘C:\Windows\System32\IPHLPAPI.DLL’. Cannot find or open the PDB file.
‘SPEAR.exe’ (Win32): Loaded ‘C:\Windows\System32\mswsock.dll’. Cannot find or open the PDB file.
‘SPEAR.exe’ (Win32): Loaded ‘C:\Windows\System32\Windows.Networking.Connectivity.dll’. Cannot find or open the PDB file.
‘SPEAR.exe’ (Win32): Loaded ‘C:\Windows\System32\Windows.Networking.HostName.dll’. Cannot find or open the PDB file.
‘SPEAR.exe’ (Win32): Loaded ‘C:\Windows\System32\wshbth.dll’. Cannot find or open the PDB file.
‘SPEAR.exe’ (Win32): Loaded ‘C:\Windows\System32\dnsapi.dll’. Cannot find or open the PDB file.
‘SPEAR.exe’ (Win32): Loaded ‘C:\Windows\System32\nsi.dll’. Cannot find or open the PDB file.
‘SPEAR.exe’ (Win32): Loaded ‘C:\Windows\System32\dhcpcsvc6.dll’. Cannot find or open the PDB file.
‘SPEAR.exe’ (Win32): Loaded ‘C:\Windows\System32\dhcpcsvc.dll’. Cannot find or open the PDB file.
‘SPEAR.exe’ (Win32): Loaded ‘C:\Windows\System32\FWPUCLNT.DLL’. Cannot find or open the PDB file.
‘SPEAR.exe’ (Win32): Loaded ‘C:\Windows\System32\nlaapi.dll’. Cannot find or open the PDB file.
‘SPEAR.exe’ (Win32): Loaded ‘C:\Windows\System32\Windows.ApplicationModel.dll’. Cannot find or open the PDB file.
‘SPEAR.exe’ (Win32): Loaded ‘C:\Windows\System32\ResourcePolicyClient.dll’. Cannot find or open the PDB file.
‘SPEAR.exe’ (Win32): Unloaded ‘C:\Windows\System32\ResourcePolicyClient.dll’
‘SPEAR.exe’ (Win32): Loaded ‘C:\Windows\System32\rdvgu1132.dll’. Cannot find or open the PDB file.
‘SPEAR.exe’ (Win32): Loaded ‘C:\Windows\System32\rfxvmt.dll’. Cannot find or open the PDB file.
‘SPEAR.exe’ (Win32): Loaded ‘C:\Windows\System32\Windows.Media.Devices.dll’. Cannot find or open the PDB file.
‘SPEAR.exe’ (Win32): Loaded ‘C:\Windows\System32\DevDispItemProvider.dll’. Cannot find or open the PDB file.
‘SPEAR.exe’ (Win32): Loaded ‘C:\Windows\System32\AudioSes.dll’. Cannot find or open the PDB file.
‘SPEAR.exe’ (Win32): Loaded ‘C:\Windows\System32\threadpoolwinrt.dll’. Cannot find or open the PDB file.
The thread 0x748 has exited with code 0 (0x0).
The thread 0x1128 has exited with code 0 (0x0).
‘SPEAR.exe’ (Win32): Loaded ‘C:\Windows\System32\Windows.Gaming.Input.dll’. Cannot find or open the PDB file.
onecoreuap\xbox\devices\api\winrt\pnpapiwrapper.cpp(385)\Windows.Gaming.Input.dll!7156757B: (caller: 71568E27) ReturnHr(1) tid(cf0) 8685C003 onecoreuap\xbox\devices\api\winrt\pnpapiwrapper.cpp(385)\Windows.Gaming.Input.dll!7156757B: (caller: 71568E27) ReturnHr(2) tid(cf0) 8685C003 onecoreuap\xbox\devices\api\winrt\pnpapiwrapper.cpp(385)\Windows.Gaming.Input.dll!7156757B: (caller: 71568E27) ReturnHr(3) tid(cf0) 8685C003 onecoreuap\xbox\devices\api\winrt\pnpapiwrapper.cpp(385)\Windows.Gaming.Input.dll!7156757B: (caller: 71568E27) ReturnHr(4) tid(cf0) 8685C003 onecoreuap\xbox\devices\api\winrt\pnpapiwrapper.cpp(385)\Windows.Gaming.Input.dll!7156757B: (caller: 71568E27) ReturnHr(5) tid(cf0) 8685C003 onecoreuap\xbox\devices\api\winrt\pnpapiwrapper.cpp(385)\Windows.Gaming.Input.dll!7156757B: (caller: 71568E27) ReturnHr(6) tid(cf0) 8685C003 ‘SPEAR.exe’ (Win32): Loaded ‘C:\Windows\System32\Windows.Devices.Sensors.dll’. Cannot find or open the PDB file.
onecoreuap\xbox\devices\api\winrt\pnpapiwrapper.cpp(385)\Windows.Gaming.Input.dll!7156757B: (caller: 71568E27) ReturnHr(7) tid(cf0) 8685C003 onecoreuap\drivers\mobilepc\sensors\convergence\services\broker\client\simpledeviceorientationrpcclient.cpp(252)\Windows.Devices.Sensors.dll!68B4C538: (caller: 68B4B883) Exception(1) tid(ac0) 8007139F The group or resource is not in the correct state to perform the requested operation.
Exception thrown at 0x76DF2502 in SPEAR.exe: Microsoft C++ exception: wil::ResultException at memory location 0x013FDF70.
‘SPEAR.exe’ (Win32): Loaded ‘C:\Windows\System32\ClipboardServer.dll’. Cannot find or open the PDB file.
‘SPEAR.exe’ (Win32): Loaded ‘C:\Windows\System32\rmclient.dll’. Cannot find or open the PDB file.
‘SPEAR.exe’ (Win32): Loaded ‘C:\Windows\System32\ntmarta.dll’. Cannot find or open the PDB file.
‘SPEAR.exe’ (Win32): Loaded ‘U:\Users\DefaultAccount\AppData\Local\DevelopmentFiles\SPEARVS.Release_Win32.mew9\libSkiaSharp.dll’. Cannot find or open the PDB file.
‘SPEAR.exe’ (Win32): Unloaded ‘U:\Users\DefaultAccount\AppData\Local\DevelopmentFiles\SPEARVS.Release_Win32.mew9\libSkiaSharp.dll’
Exception thrown at 0x76DF2502 in SPEAR.exe: Microsoft C++ exception: Il2CppExceptionWrapper at memory location 0x0230F438.
Exception thrown at 0x76DF2502 in SPEAR.exe: Microsoft C++ exception: Il2CppExceptionWrapper at memory location 0x0230F578.
Exception thrown at 0x76DF2502 in SPEAR.exe: Microsoft C++ exception: Il2CppExceptionWrapper at memory location 0x0230F5B8.
The thread 0xfb4 has exited with code 0 (0x0).
The thread 0xfb0 has exited with code 0 (0x0).
The thread 0x534 has exited with code 0 (0x0).