Description
Hi,
OSVR is not yet compatible with the Windows 10 Universal Platform. This platform has a new API with some missing functions, such as DLLImport
. It's a real problem for a lot of SDK so we just have to patch sources with
#if !UNITY_WSA
[DLLImport(SomFunction)]
public extern static SomeFunction();
#else
public static SomeFunction() { }
#endif
[I already patched and submited a pull request] on the ’Managed-OSVR’ repository, my work allows you to generate a placeholder DLL (which must be used in Unity by example).
For my game which is already compatible with the Vive, Rift and of course OSVR, I had to patch all the OSVR SDK. Today I want to know if you're interested by this work. It changes some files, but it changes no behaviours, or anything.
The first step could be to merge my work, but a second step could be to move all ’DLLImport’ into separate files to have the native call and the SDK separated.
If you're OK with that, I can update my repository last week.