Search Issue Tracker
Won't Fix
Won't Fix in 6000.0.X
Votes
0
Found in
2021.3.46f1
2022.3.54f1
6000.0.31f1
Issue ID
UUM-90555
Regression
No
Builds fail with "System.IO.IOException: The file is too long" when building a specific project
Reproduction steps:
1. Open the “ASDQWE” project
2. Build and run a WebGL Player (File > Build And Run)
3. Observe the Editor
Expected result: No errors are thrown and the Player is launched
Actual result: "System.IO.IOException: The file is too long. This operation is currently limited to supporting files less than 2 gigabytes in size" build error is thrown
Reproducible with: 2021.3.46f1, 2021.3.54f1, 6000.0.31f1
Could not test with: 6000.1.0a8 (Different build errors)
Reproducible on: MacOS 15.1.1 Intel, Windows 11 (user’s)
Not reproducible on: No other environment tested
Notes:
- The issue is reproducible with Android as well but the build error differs: "A failure occurred while executing com.android.build.gradle.internal.tasks.CompressAssetsWorkAction Required array size too large”
- The issue does not occur with the iOS, MacOS platform
- The issue does not occur with the project assets extracted onto a blank project
- Each build increases the library folder substantially and the increase depends on the build platform
- The user noted that they are able to make several successful builds after removing the library. This behavior was not observed by the CQA
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
- Shader Graph Node information is briefly displayed in Graph Inspector when clicking on Category in the Blackboard
- Module installation fails with "Download failed: Validation Failed" errors when using beta.2 Hub version
- JsonConvert conversion fails trying to call GetCallbackMethodsForType when [OnDeserialized] is used in a class
- Shader Graph Category dropdown cannot be expanded/collapsed when clicking on the text
- Different text alignment in the column header in Entities "System" window
Resolution Note:
The issue is from an excess of shader variants causing the build size to become too large. It is recommended to reduce the number of shader variants included in the build. You can refer to the documentation on shader variant stripping for more information, https://docs.unity3d.com/6000.0/Documentation/Manual/shader-variant-stripping.html.
Resolution Note (6000.0.X):
The issue is from an excess of shader variants causing the build size to become too large. It is recommended to reduce the number of shader variants included in the build. You can refer to the documentation on shader variant stripping for more information, https://docs.unity3d.com/6000.0/Documentation/Manual/shader-variant-stripping.html.