Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
matthieupoyade's avatar
3 years ago

error CS0103: The name 'OVRControllerUtility' does not exist in the current context

Hi All, 

When update my oculus integration from v28 to the latest 49.0, I have a series of errors about OVRControllerUtility as below I am not able to resolve, any ideas?

 

Assets\Oculus\Interaction\Runtime\Scripts\Input\OVRIntegration\AnimatedHandOVR.cs(92,31): error CS0103: The name 'OVRControllerUtility' does not exist in the current context

Assets\Oculus\Interaction\Runtime\Scripts\Input\OVRIntegration\AnimatedHandOVR.cs(93,32): error CS0103: The name 'OVRControllerUtility' does not exist in the current context

Assets\Oculus\Interaction\Runtime\Scripts\Input\OVRIntegration\AnimatedHandOVR.cs(123,33): error CS0103: The name 'OVRControllerUtility' does not exist in the current context

Assets\Oculus\Interaction\Runtime\Scripts\Input\OVRIntegration\FromOVRControllerHandDataSource.cs(216,33): error CS0103: The name 'OVRControllerUtility' does not exist in the current context

 

5 Replies

Replies have been turned off for this discussion
  • I'm also getting the following error which seems to be related:

     

    Failed to find entry-points:
    Mono.Cecil.AssemblyResolutionException: Failed to resolve assembly: 'Oculus.Interaction, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'
      at Mono.Cecil.BaseAssemblyResolver.Resolve (Mono.Cecil.AssemblyNameReference name, Mono.Cecil.ReaderParameters parameters) [0x00105] in <ebb9e4250ed24cbfa42055e3532ef311>:0 
      at zzzUnity.Burst.CodeGen.AssemblyResolver.Resolve (Mono.Cecil.AssemblyNameReference name) [0x00039] in <a2dd15248a25411e914af2a2c82fb63f>:0 
      at Burst.Compiler.IL.AssemblyLoader.Resolve (Mono.Cecil.AssemblyNameReference name) [0x00079] in <a2dd15248a25411e914af2a2c82fb63f>:0 
      at Burst.Compiler.IL.Server.EntryPointMethodFinder.FindEntryPoints (System.String[] rootAssemblyNames, Burst.Compiler.IL.Hashing.CacheRuntime.HashCacheAssemblyStore assemblyStore, Burst.Compiler.IL.AssemblyLoader assemblyLoader, Burst.Compiler.IL.NativeCompilerOptions options, Burst.Compiler.IL.Server.ProfileDelegate profileCallback, System.Boolean includeRootAssemblyReferences, System.Boolean splitTargets, Burst.Compiler.IL.Helpers.DebugLogWriter debugWriter) [0x00055] in <a2dd15248a25411e914af2a2c82fb63f>:0 
      at Burst.Compiler.IL.Server.FindMethodsJob.Execute (Burst.Compiler.IL.Server.CompilerServerJobExecutionContext context) [0x00133] in <a2dd15248a25411e914af2a2c82fb63f>:0 
    
    While compiling job:

     

     

    Could be the issue discussed here, but not sure. Waiting for burst 1.8.4 according to this this thread: https://forum.unity.com/threads/error-after-update-to-unity-2021-3-16f1-lts.1374864/#post-8759329

  • naetib's avatar
    naetib
    Start Partner

    In my case, I closed Unity, deleted Asset/Oculus folder, open project Unity in safe mode, imported package Oculus Intergration again. And then everything worked fine.

    • esa08's avatar
      esa08
      Honored Guest

      yeah I implemented like that also and worked,,