sentry-unity
sentry-unity copied to clipboard
Assembly Alias causes `System.Text.Json` exception
Steps to reproduce:
- Build the SDK with TFM
netstandard2.1
(i.e. using Unity 2022 or newer) - Run the aliasing tool
- Attempt to capture an error, session, transaction
- 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.