-
-
Notifications
You must be signed in to change notification settings - Fork 56
Review SDK size: consider IL stripping #2074
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
Comments
Using Unity
Comparing the
The increase in |
@bitsandfoxes said:
|
In the table we see that the Android SDK does not actually add "that" much to the bundle size. I think I've narrowed down where the unexpected increase in size in Since there is limited dependency resolution for Unity packages, the SDK "deeply renames" its dependencies using a tool called "Assembly Alias". You can read more about how and why here. But this means that in addition to the Unity/.NET SDK, C++ code gets generated for all its dependencies as well. Even if Unity or some other package would already bring them along. We're now also setting the stripping level to |
We've received user feedback that the SDK is causing a significant increase of the final
.apk
.The text was updated successfully, but these errors were encountered: