Mixedrealitytoolkit-unity: Preview does not exist in namespace Windows.Perception.Spatial

Created on 31 Oct 2018  路  6Comments  路  Source: microsoft/MixedRealityToolkit-Unity

Doing a raw pull and loading into unity 2017.2.1f1 gives an error on trying to build the QRCodesSample

Assets\holotoolkit-preview\QRTracker\Scripts\SpatialGraphCoordinateSystem.cs(30,36): error CS0234: The type or namespace name 'Preview' does not exist in the namespace 'Windows.Perception.Spatial' (are you missing an assembly reference?)

Any ideas?

Most helpful comment

Yes!, updating to insider sdk 10.0.17763.0 has fixed this.
Thank you!

All 6 comments

Same here for Unity 2018.1.0f2

Is your computer's os using the windows insider preview build?

No
Version 1803 Build 17134.285
SDK: 10.0.17134
Visual studio:2017 15.8.8 with version 4.7.03056 .net framework

Using default build settings when I load the project after checking out

I'm fairly certain you'll need to use the insider preview and also install the preview windows SDK.

Ok, will try and let you know

Yes!, updating to insider sdk 10.0.17763.0 has fixed this.
Thank you!

Was this page helpful?
0 / 5 - 0 ratings