FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

CS0433 type conflict when using MessagePack v3.1.4 in Unity buildtime. · Issue #2248 · MessagePack-CSharp/MessagePack-CSharp · GitHub

CS0433 type conflict when using MessagePack v3.1.4 in Unity buildtime. #2248

Description

When using MessagePack v3.1.4 in a Unity project,
the build fails with a CS0433 type conflict error.

I followed the installation guide and installed it correctly, and no errors occurred in the Unity Editor,
but when I tried to build in CI, the conflict error occurred.

Is there any guide on how to try to solve this?

[2026-01-08T10:04:59.943Z] 
[2026-01-08T10:04:59.943Z] D:\workspace\FORPIPELINECHECK\####.cs(105,27): error CS0433: The type 'MessagePackSerializationException' exists in both 'MessagePack.SourceGenerator, Version=3.1.4.0, Culture=neutral, PublicKeyToken=b4a0369545f0a1be' and 'MessagePack, Version=3.1.4.0, Culture=neutral, PublicKeyToken=b4a0369545f0a1be'
[2026-01-08T10:04:59.943Z] 
[2026-01-08T10:04:59.943Z] MessagePack.SourceGenerator\MessagePack.SourceGenerator.MessagePackGenerator\Formatters.MessagePack.GeneratedMessagePackResolver.####.g.cs(150,18): error CS0433: The type 'AutomataKeyGen' exists in both 'MessagePack.SourceGenerator, Version=3.1.4.0, Culture=neutral, PublicKeyToken=b4a0369545f0a1be' and 'MessagePack, Version=3.1.4.0, Culture=neutral, PublicKeyToken=b4a0369545f0a1be'
[2026-01-08T10:04:59.943Z] 
[2026-01-08T10:04:59.943Z] MessagePack.SourceGenerator\MessagePack.SourceGenerator.MessagePackGenerator\Formatters.MessagePack.GeneratedMessagePackResolver.####.g.cs(154,22): error CS0433: The type 'AutomataKeyGen' exists in both 'MessagePack.SourceGenerator, Version=3.1.4.0, Culture=neutral, PublicKeyToken=b4a0369545f0a1be' and 'MessagePack, Version=3.1.4.0, Culture=neutral, PublicKeyToken=b4a0369545f0a1be'
[2026-01-08T10:04:59.943Z] 
[2026-01-08T10:04:59.943Z] MessagePack.SourceGenerator\MessagePack.SourceGenerator.MessagePackGenerator\Formatters.MessagePack.GeneratedMessagePackResolver.####.g.cs(160,26): error CS0433: The type 'AutomataKeyGen' exists in both 'MessagePack.SourceGenerator, Version=3.1.4.0, Culture=neutral, PublicKeyToken=b4a0369545f0a1be' and 'MessagePack, Version=3.1.4.0, Culture=neutral, PublicKeyToken=b4a0369545f0a1be'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions


      Back | FazBrowse Home | New Git URL