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
859 stars 275 forks source link

Unsafe code requires the `unsafe' command line option to be specified #18

Closed yosun closed 8 years ago

yosun commented 8 years ago

What's with all the unsafe code?

yosun commented 8 years ago

https://gyazo.com/8fc9d2982f11b673c338d9f115491523

jwittner commented 8 years ago

Hi! Looks like maybe you embedded the HoloToolkit-Unity/Assets/HoloToolkit folder into your own project? I believe this will happen if you don't include the *.rsp files located in HoloToolkit-Unity/Assets folder.

See here: https://github.com/Microsoft/HoloToolkit-Unity/tree/master/Assets

You can learn more about those files and what they do under the "Global custom defines" section here: https://docs.unity3d.com/Manual/PlatformDependentCompilation.html

jwittner commented 8 years ago

It also looks like maybe you wanted to post this to the HoloToolkit-Unity project instead of here? Sorry for any confusion!

yosun commented 8 years ago

ah, so is this the reason why the kit isn't just a .unitypackage?

also - might be helpful to note this in readme that the custom .rsp files are required etc