Skip to content

Assembly Alias causes System.Text.Json exception #1777

Open
@bitsandfoxes

Description

@bitsandfoxes

Steps to reproduce:

  1. Build the SDK with TFM netstandard2.1 (i.e. using Unity 2022 or newer)
  2. Run the aliasing tool
  3. Attempt to capture an error, session, transaction
  4. Observe the following error while the SDK attempts to serialize an envelope
TypeLoadException: VTable setup of type System.Text.Json.Utf8JsonWriter failed

This does not happen when skipping the aliasing step.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't workingEditor

    Type

    Projects

    Status

    Blocked

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions