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

'ProcessorPerformanceLevel' does not exist in the type 'OVRManager' after migration to v2.8.0

Open abhilashca opened this issue 3 years ago • 3 comments

Describe the bug

Migration from v2.7.3 to v2.8.0 using MR Feature Tool resulted in compile time error as - Library\PackageCache\com.microsoft.mixedreality.toolkit.foundation@9e95381a667f-1659615280629\Providers\Oculus\XRSDK\OculusXRSDKDeviceManagerProfile.cs(131,27): error CS0426: The type name 'ProcessorPerformanceLevel' does not exist in the type 'OVRManager'

image

To reproduce

Steps to reproduce the behavior:

  1. Unity project with MRTK v2.7.3
  2. Launch MR Feature Tool and try to migrate to v2.8.0
  3. Get's compile time error - The type name 'ProcessorPerformanceLevel' does not exist in the type 'OVRManager'.

Expected behavior

Unity project should build fine after migration

Your setup (please complete the following information)

  • Unity Version [e.g. 2019.4.14f1]
  • MRTK Version [e.g. v2.7.3]

Target platform (please complete the following information)

  • Oculus Quest

abhilashca avatar Aug 04 '22 12:08 abhilashca

Hi @abhilashca, can you let us know what version of the Oculus Integration package you are using?

MaxWang-MS avatar Aug 04 '22 23:08 MaxWang-MS

@MaxWang-MS Here is what I am using

image

image

I tried re-importing the package again, but didn't helped.

abhilashca avatar Aug 05 '22 06:08 abhilashca

Also experiencing this issue

ProfDru avatar Aug 12 '22 22:08 ProfDru

Hey there,

I'm testing this in our project with Oculus Integration 42.0 and am not seeing this issue. MRTK2 was tested to work as of Oculus 39.0, where they introduced the new performance level variable

https://developer.oculus.com/reference/unity/v39/class_o_v_r_manager/#a6ec677bb216ae0ad4e62bff3fd8bdadf

Their documentation for v39 shows that it's still in their API, as does the documentation for v42 https://developer.oculus.com/reference/unity/v39/class_o_v_r_manager/#a6ec677bb216ae0ad4e62bff3fd8bdadf https://developer.oculus.com/reference/unity/v42/class_o_v_r_manager/

Could it be that the Oculus Integration Package needs to be updated to the latest?

RogPodge avatar Aug 17 '22 18:08 RogPodge

@RogPodge My scenario was little different. I was upgrading the project from MRTK v2.5.3 to v2.8.0 steps by step. The upgrade went smooth till version v2.7.3 but got the error when I upgraded from v2.7.3 to v2.8.0.

Thanks for sharing the link for Oculus Integration v42. Let me try adding the same one more time and see what happens.

Will keep you posted in next couple of days.

Thank you.

abhilashca avatar Aug 19 '22 05:08 abhilashca

Closing as external API change; please reopen if the issue is not resolved.

Zee2 avatar Nov 18 '22 22:11 Zee2