Forum Discussion

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

Oculus Integration 49.0 error.

Oculus Integration 49 gives errors when importing (of one which doesn't disappear whatever we tried), using Unity 2021.1.21f1

Assets\Oculus\Voice\Lib\Wit.ai\Lib\Conduit\Editor\Training\EnumSynchronizer.cs(303,57): error CS1061: 'List<WitKeyword>' does not contain a definition for 'ToHashSet' and no accessible extension method 'ToHashSet' accepting a first argument of type 'List<WitKeyword>' could be found (are you missing a using directive or an assembly reference?)

Anyone else experiencing this?

3 Replies

Replies have been turned off for this discussion
  • I had issues with Voice & Wit on import. Remove the "Assets\Oculus\Voice" folder before importing. That worked for me.

    Hope that helps.

    • matthieupoyade's avatar
      matthieupoyade
      Explorer

      Deleting the Voice file fixed the issues. I have also similar issues with OVRControllerUtility. Any idea how to fix that?

  • Yes, deleting might be a solution, until you rely on voice in your app.

    I just don't understand how this passed testing before release, as .NET Standard 2.0 and .NET 4.x both do not have support for Enumerable.ToHashSet, .NET Standard 2.1 does however.