microsoft / MixedRealityToolkit-Unity

This repository is for the legacy Mixed Reality Toolkit (MRTK) v2. For the latest version of the MRTK please visit https://github.com/MixedRealityToolkit/MixedRealityToolkit-Unity
https://aka.ms/mrtkdocs
MIT License
6k stars 2.12k forks source link

Holotoolkit folder cannot be imported without Holotoolkit-examples folder #242

Closed DomDumont closed 7 years ago

DomDumont commented 7 years ago

When I import only the Holotoolkit folder, I got several compiling erros in the sharing section

jwittner commented 7 years ago

Can you put the compiler warnings here?

NeerajW commented 7 years ago

I just tried this without any errors. Are you sure you did not forget to export the *.rsp files under the Assets folder? What version of Unity are you using?

DomDumont commented 7 years ago

Hi,

You were right, it was because of missing rsp files. The error was "Assets/HoloToolkit/Sharing/Scripts/SDK/AnchorDownloadRequest.cs(58,22): error CS0227: Unsafe code requires the `unsafe' command line option to be specified" My version is 5.4.0f3-HTP Thanks, sorry for the false positive