Search Issue Tracker
Postponed means that the issue was either a feature request or something that requires major refactoring on our side. Since that makes the issue not actionable in the close future we choose to close it as Postponed and add it on our internal roadmaps and technical debt pages instead.
Postponed
Votes
4
Found in [Package]
1.1.0-pre.5
Issue ID
1340958
Regression
No
[IL2CPP] Including the Input System package in project significantly adds to build sizes
Reproduction steps:
1. Open attached project "OptimizeForWebGL.zip"
2. Build with Input System package and note build folder size
3. Build without Input System package and note build folder size
4. Compare the two build folder sizes
Expected result: The size difference between the two builds is negligible (~3mb)
Actual result: The size difference between the two builds is significant (~160mb)
Reproducible with: 0.2.1-preview (2018.4.35f1), 1.1.0-pre.5 (2019.4.28f1, 2020.3.12f1, 2021.1.12f1, 2021.2.0a20)
Note:
Issue does not reproduce with - Windows platform with Mono scripting backend, WebGL platform.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Red spots appear when Blending Lighting Scenarios using Adaptive Probe Volumes
- [Windows] About Unity Window needs to be opened twice to adapt to resolution
- NullReferenceException and temporary graph corruption after entering playmode if output node connection was changed
- Sprite Renderer with Animation does not reflect Sprite changes in the Scene when switching Mask Interaction
- User is redirected to a non-existing online documentation link when clicking on "?" help button inside Inspector window while Animator Override Controller is selected
Resolution Note:
The changes necessary to address this issue are API breaking changes (removing Preserve attributes on lots of types and changing the layout system so it doesn't have to rely on reflection) so they will have to be made as part of a v2. Note though that the size difference as reported in the issue most likely includes the '[...]_BackUpThisFolder_ButDontShipItWithYourGame' folders. When those folders are removed, the difference is 49MB vs 43MB (with low stripping) for the Windows build, with and without the input system, so not as extreme as in the issue but should still be addressed.