Skip to content

Android Platform: Cannot run / compile example projects. 'ObjectManipulator' does not contain a definition for 'OnManipulationEnded' #10372

@polygonfuture

Description

@polygonfuture

Overview

After setting up MRTK in a new Unity Project for Oculus Quest 2 (Android) using OVR Plugin, I am getting compile errors about missing definitions related to ObjectManipulator.

After opening any of the Sample Scenes I receive the following errors related to ObjectManipulator.

Assets\Samples\Mixed Reality Toolkit Examples\2.7.2\Demos - UX\ManipulationHandler\Scripts\ChangeManipulation.cs(52,43): error CS1061: 'ObjectManipulator' does not contain a definition for 'ForceEndManipulation' and no accessible extension method 'ForceEndManipulation' accepting a first argument of type 'ObjectManipulator' could be found (are you missing a using directive or an assembly reference?)

Assets\Samples\Mixed Reality Toolkit Examples\2.7.2\Demos - UX\BoundsControl\Scripts\BoundsControlRuntimeExample.cs(150,20): error CS1061: 'ObjectManipulator' does not contain a definition for 'OnManipulationStarted' and no accessible extension method 'OnManipulationStarted' accepting a first argument of type 'ObjectManipulator' could be found (are you missing a using directive or an assembly reference?)


Assets\Samples\Mixed Reality Toolkit Examples\2.7.2\Demos - UX\BoundsControl\Scripts\BoundsControlRuntimeExample.cs(151,20): error CS1061: 'ObjectManipulator' does not contain a definition for 'OnManipulationEnded' and no accessible extension method 'OnManipulationEnded' accepting a first argument of type 'ObjectManipulator' could be found (are you missing a using directive or an assembly reference?)


Assets\Samples\Mixed Reality Toolkit Examples\2.7.2\Demos - UX\BoundingBox\Scripts\BoundingBoxExampleTest.cs(145,20): error CS1061: 'ObjectManipulator' does not contain a definition for 'OnManipulationStarted' and no accessible extension method 'OnManipulationStarted' accepting a first argument of type 'ObjectManipulator' could be found (are you missing a using directive or an assembly reference?)

Assets\Samples\Mixed Reality Toolkit Examples\2.7.2\Demos - UX\BoundingBox\Scripts\BoundingBoxExampleTest.cs(146,20): error CS1061: 'ObjectManipulator' does not contain a definition for 'OnManipulationEnded' and no accessible extension method 'OnManipulationEnded' accepting a first argument of type 'ObjectManipulator' could be found (are you missing a using directive or an assembly reference?)

Also alternatively, pulling the unity packages directly from the git release does not give this error. (There are other build issues with this method, but it does not give this issue).

Expected behavior

Opening samples scenes give no compile error and run.

Actual behavior

Console gives errors about possible missing directives or assembly references related to ObjectManipulator.

Steps to reproduce

  1. Install Unity 2021.1.10.
  2. Install Mixed Reality FeatureTool 1.0.2111.0-Preview
  3. Download / Install the following MRTK Packages:
  • MRTK Examples 2.7.2
  • MRTK Extensions 2.7.2
  • MRTK Foundation 2.7.2
  • MRTK Standard Assets 2.7.2
  • MRTK Test Utilities 2.7.2
  • MRTK Tools 2.7.2
  1. Install Oculus XR Plugin
  2. Install Oculus Integration

Sample Project: https://github.com/polygonfuture/MRTK_Test

Unity editor version

2021.1.10f

Mixed Reality Toolkit release version

2.7.2 (downloaded from MRTK Feature Tool)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions