Search Issue Tracker

Won't Fix

Votes

0

Found in

6000.0.35f1

6000.1.0b3

Issue ID

UUM-95350

Regression

No

.Net Standard 2.0 dlls causing errors in .net Standard 2.1, despite the automation of compact shims

-

Reproduction steps:
1. Open the attached “IN-93457_LaunchDarkly-vTableIssue.zip“ project
2. Open the “Assets/Scenes/SampleScene.unity“ Scene
3. Enter the Play Mode
4. Observe the Console

Expected result: “TypeLoadException: VTable setup of type System.Text.Json.Utf8JsonWriter failed“ error is present
Actual result: No errors are present in the Console

Reproducible with: 6000.0.35f1, 6000.1.0b3
Couldn’t test with: 2022.3.56f1 (Unable to downgrade, compatibility issues)

Reproducible on: M1 Max MacOS 15.1.1
Not reproducible on: No other environment tested

  1. Resolution Note:

    It seems to be a version compatibility issue between LaunchDarkly and NeedleConsole. All loaded NeedleConsole assemblies have 'Demystify-' prefixes in name except for System.Threading.Tasks.Extensions.dll. Due to the fact that we cannot have multiple assemblies with the same name, it seems LaunchDarkly would like to use Unity's default loaded one but Demystify one is loaded instead. All System.Text.Json dependencies can be found here: https://www.nuget.org/packages/System.Text.Json/6.0.10#dependencies-body-tab
    To resolve this, please remove Demystify-System.Threading.Tasks.Extensions.dll from NeedleConsole package, so Unity can load its default one and please report bug to package owners if possible.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.