Skip to content

Road to Console Support #2204

Open
@bitsandfoxes

Description

@bitsandfoxes

The C# layer is expected to work on all console platforms.

We have POC working for

From these POCs we can extract some commonly required changes to the SDK:

  • Preprocessor Directives that go into SentryInitialization.cs. There are UNITY_SWITCH, UNITY_GAMECORE. Footgun: They do not set the UNITY_64 like Desktop.
  • Since native-support on consoles is powered by sentry-native we can reuse SentryNative.
    • We should look into unifying how the Unity SDK consumes sentry-native:
      • Desktop: Dynamic
      • Xbox: Dynamic
      • Switch: Static
      • PlayStation: Static
  • New userId mechanism required: The use of AnalyticsSessionInfo.userId is disallowed
  • Fetching of Operating System context.
  • Add install instructions to the native SDK variants
  • Add install instructions to the base Unity SDK (i.e. /Assets/Plugins/Sentry/Platform/support.md?)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions