cancel
Showing results for 
Search instead for 
Did you mean: 

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

elgun.cumayev
Honored Guest

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. 

1 ACCEPTED SOLUTION

Accepted Solutions

elgun.cumayev
Honored Guest

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

View solution in original post

5 REPLIES 5

andrew.alderete
Explorer

I am having the same issue.

elgun.cumayev
Honored Guest

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

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

That does not solve the conflict.

andrew.alderete
Explorer

Yep I can confirm it does not.