MixedRealityToolkit-Unity icon indicating copy to clipboard operation
MixedRealityToolkit-Unity copied to clipboard

Standalone Build configuration does not compile.

Open NeerajW opened this issue 9 years ago • 4 comments

Overview

Opened a freshly synced project in MRTP4 0p1

Expected Behavior

No compile errors

Actual Behavior

Error:
Assets/HoloToolkit/Input/Scripts/Utilities/AttachToController.cs(59,53): error CS1061: Type `HoloToolkit.Unity.InputModule.MotionControllerVisualizer' does not contain a definition for `TryGetControllerModel' and no extension method `TryGetControllerModel' of type `HoloToolkit.Unity.InputModule.MotionControllerVisualizer' could be found. Are you missing an assembly reference?

Steps to reproduce

Open project and switch to Mac, PC, & Linux Standalone build.

Unity Editor Version

2017.2.0p1 MRTP4

Mixed Reality Toolkit Release Version

Current master

NeerajW avatar Nov 17 '17 22:11 NeerajW

Likely due to some missing or bad IF DEFs

NeerajW avatar Nov 17 '17 22:11 NeerajW

I take it you're build setting are targeting Mac, PC, & Linux Standalone build?

StephenHodgson avatar Nov 17 '17 22:11 StephenHodgson

True that. However, this is the first I've ever seen something like this happen when you just import the toolkit to your project.

NeerajW avatar Nov 17 '17 22:11 NeerajW

This one's on me #1379 - we merged this to unblock progress on pointers but didn't think to test build targets other than UWP. We'll make sure to test Mac/PC/Linux standalone before future merges.

Railboy avatar Nov 17 '17 22:11 Railboy