Skip to main content
New Participant
March 1, 2024
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. 

This topic has been closed for replies.
New Participant
March 4, 2024

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

andrewalderete
Participant
March 2, 2024

I am having the same issue.

elguncumayevAuthorAnswer
New Participant
March 4, 2024

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

andrewalderete
Participant
April 11, 2024

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

andrewalderete
Participant
April 13, 2024

Yep I can confirm it does not.