sentry-unity: IL2CPP builds with Codegen.OptimizeSize break due to `FullySharedGeneric`

If we check this original issue reported here: Builds on Unity 2022.1 break with aliased package #691

This still happens on Unity 2021.3.10f1 The trick to reproduce the bug is create an android Build with these options:

PlayerSettings.SetIl2CppCompilerConfiguration(BuildTargetGroup.Android, Il2CppCompilerConfiguration.Debug);
EditorUserBuildSettings.il2CppCodeGeneration = UnityEditor.Build.Il2CppCodeGeneration.OptimizeSize;

Versions of Sentry used: 0.23.1 and also happens on 0.19.0 (I’ve tried upgrading to see if the issue was related to a particular version.

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 19 (9 by maintainers)

Most upvoted comments

@pmabres no worries at all! Sorry to not have any better news but the report (with a repro) got rejected initially with “cannot reproduce” so I provided another one and that one seems to be stuck in eternal open. Thanks for reminding me. I’ll give it another go.

@pmabres not yet. It did not pass through their bug-report verification yet.