Skip to content

Cannot import the MRTK in to a brand new Unity project using the Unity defaults. #2956

@SimonDarksideJ

Description

@SimonDarksideJ

Does this affect the legacy HoloToolkit (master) or the Mixed Reality Toolkit (mrtk_release)?

Mixed Reality Toolkit

Describe the bug

In a "New" Unity project (using Unity defaults), on importing the Mixed Reality Toolkit, an error is raised on the EnforceEditorSettings script preventing the project from running.

Assets/MRTK/MixedRealityToolkit/_Core/Utilities/Editor/Setup/EnforceEditorSettings.cs(202,45): error CS1644: Feature `interpolated strings' cannot be used because it is not part of the C# 4.0 language specification

Assets/MRTK/MixedRealityToolkit/_Core/Utilities/Editor/Setup/EnforceEditorSettings.cs(27,28): error CS0117: `string' does not contain a definition for `IsNullOrWhiteSpace'

Assets/MRTK/MixedRealityToolkit/_Core/Extensions/EditorClassExtensions/ScriptableObjectExtensions.cs(24,58): error CS1644: Feature `interpolated strings' cannot be used because it is not part of the C# 4.0 language specification

Reproduction steps

  1. Create a brand new project
  2. Import / copy the Mixed Reality Toolkit in to the project
  3. Watch the world burn

Expected behavior

The MRTK should import and run the "EnforceEditorSettings" without error.

Actual behavior

The opposite. Nothing runs

Unity Editor Version

2018.2.13f0

Mixed Reality Toolkit Release Version

Development

Additional Information

I don't think this is an issue we can "FIX" in the code. But we need a plan / process to inform users how to import the project without error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Build / ToolsIssues related to build and tools.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions