Skip to content

Request: SDK Support for .NET 7 / System.* DLLs v7.0.0.0 Compatibility #82

@NuthapongP

Description

@NuthapongP

Hi Xsolla team,

We’re integrating the latest version of xsolla-unity-sdk-latest into our Unity project, but we’re encountering critical DLL version conflicts due to newer dependencies required by our project.

❌ Errors

Upon importing the SDK, we receive errors like:
Multiple precompiled assemblies with the same name System.Text.Encodings.Web.dll... Multiple precompiled assemblies with the same name Microsoft.Bcl.AsyncInterfaces.dll... ... error CS1705: Assembly 'System.Text.Json' with identity '... v7.0.0.0' uses 'Microsoft.Bcl.AsyncInterfaces' version 7.0.0.0 which conflicts with the SDK's v1.0.0.0

🔍 Cause

Our project requires:
• System.Text.Json v7.0.0.0
• Microsoft.Bcl.AsyncInterfaces v7.0.0.0
• System.Text.Encodings.Web v7.0.0.0

But Xsolla SDK is bundling:
• Microsoft.Bcl.AsyncInterfaces v1.0.0.0
• System.Text.Encodings.Web v1.0.0.0
• etc.

These DLLs cannot coexist in Unity because of the precompiled assembly name conflict limitation.

📌 Question
• Is there a version of the Xsolla Unity SDK that supports .NET 7+ assembly versions?
• Or do you have plans to ship a version without the old DLLs so we can rely on our own updated versions?

✅ Environment
• Unity version: 2021.3.42f1 LTS
• SDK version: xsolla-unity-sdk-latest from https://developers.xsolla.com/sdk/unity/integrate-complete-solution/install-sdk/

Thanks in advance! Happy to test a preview/fixed version if needed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions