Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
elgun.cumayev's avatar
elgun.cumayev
Honored Guest
2 years ago
Solved

Package conflict when upgrading Meta XR All-in-One SDK

I had Meta XR All-in-One SDK version 60 and tried to upgrade to 62, Unity crashed once, then I opened in SafeMode and there was this error:
Library\PackageCache\com.meta.xr.sdk.core@62.0.0\Scripts\Util\Async\OVRTask.cs(819,9): error CS0433: The type 'ManualResetValueTaskSourceCore<TResult>' exists in both 'Microsoft.Bcl.AsyncInterfaces, Version=5.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' and 'netstandard, Version=2.1.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'
What can I do? It seems both are from System DLLs. 

  • We found it ourselves.
    1. Find and select Microsoft.Bcl.AsyncInterfaces.dll file in Assets (in our case it is in the "IdentityModel" folder)
    2. On inspector uncheck "Any platform" and all platforms ("Editor", "Standalone", "Android")
    3. Click Apply.
    That solved the problem for us

5 Replies

Replies have been turned off for this discussion
  • We found it ourselves.
    1. Find and select Microsoft.Bcl.AsyncInterfaces.dll file in Assets (in our case it is in the "IdentityModel" folder)
    2. On inspector uncheck "Any platform" and all platforms ("Editor", "Standalone", "Android")
    3. Click Apply.
    That solved the problem for us

    • andrew.alderete's avatar
      andrew.alderete
      Explorer

      Sadly this did not work for me. While it solves the immediate error, building an APK fails with the same issue every time.