Skip to content

fix: Make fetching scene name run on IL2CPP only #2206

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Jun 24, 2025

Conversation

bitsandfoxes
Copy link
Contributor

Fixes #2181

@@ -135,7 +135,7 @@ internal SentryUnityOptions ToSentryUnityOptions(bool isBuilding, ISentryUnityIn
{
application ??= ApplicationAdapter.Instance;

var options = new SentryUnityOptions(isBuilding, application)
var options = new SentryUnityOptions(isBuilding, application, unityInfo)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

We need to pass the UnityInfo into the options if we want to have access to IL2CPP from within the integrations.
Alternatively, I'd need to add the integrations here but this would be a breaking change in behaviour for anyone that programmatically initializes the SDK.

I'll have to pick this back up when working on #2200

@bitsandfoxes bitsandfoxes marked this pull request as ready for review June 23, 2025 12:33
@bitsandfoxes bitsandfoxes merged commit a27bb31 into main Jun 24, 2025
32 checks passed
@bitsandfoxes bitsandfoxes deleted the fix/scene-name-il2cpp-only branch June 24, 2025 13:49
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.

Sentry 3.2.0, 3.2.1 and 3.2.2 cause a crash on certain nvidia platforms
2 participants