Skip to content

Conversation

bitsandfoxes
Copy link
Contributor

@bitsandfoxes bitsandfoxes commented Sep 26, 2025

Description

The changes in #1888 replaced the runtime/build time configuration setup into one Option Configuration setup. The same callback would get invoked wether it is on runtime or at build time.

We kept the old setup around as to not break people when upgrading but it's been 2 mayor releases now.

A migration guide is already in place: https://docs.sentry.io/platforms/unity/migration/#changes-to-the-programmatic-configuration.

cursor[bot]

This comment was marked as outdated.

cursor[bot]

This comment was marked as outdated.

<WindowsNativeSupportEnabled>k__BackingField: 1
<MacosNativeSupportEnabled>k__BackingField: 1
<LinuxNativeSupportEnabled>k__BackingField: 1
<XboxNativeSupportEnabled>k__BackingField: 1
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missed checking this in to the samples when adding Xbox support.

AndroidNativeSupportEnabled = AndroidNativeSupportEnabled,
NdkIntegrationEnabled = NdkIntegrationEnabled,
NdkScopeSyncEnabled = NdkScopeSyncEnabled,
PostGenerateGradleProjectCallbackOrder = PostGenerateGradleProjectCallbackOrder,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was previously wrongly only on the scriptable object and not on the actual options, making them inaccessible programmatically.

@bitsandfoxes bitsandfoxes requested a review from a team September 30, 2025 10:56
@bitsandfoxes bitsandfoxes merged commit a6da945 into main Sep 30, 2025
103 of 104 checks passed
@bitsandfoxes bitsandfoxes deleted the chore/remove-deprecated-runtime-buildtime-configuration branch September 30, 2025 14:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants