microsoft / MixedRealityToolkit

The MixedRealityToolkit is a collection of scripts and components intended to accelerate the development of mixed reality applications targeting Windows Mixed Reality.
MIT License
856 stars 276 forks source link

.NET Native workaround for IInspectable bug #228

Closed keveleigh closed 4 years ago

keveleigh commented 4 years ago

This solution provides a workaround for a .NET Native (used when building a Master build for a Unity app built with the .NET backend) bug, where IInspectable pointers cannot be marshaled from native to managed code using Marshal.GetObjectForIUnknown.