Search Issue Tracker

In Progress

Under Consideration for 6000.0.X, 6000.1.X, 6000.2.X

Fix In Review for 6000.3.X

Votes

2

Found in

6000.0.54f1

6000.1.13f1

6000.2.0b12

6000.3.0a3

Issue ID

UUM-112909

Regression

No

[WebGL] Build fails with "System.IO.IOException: The file is too long." when building with an asset that is over 2GB

-

How to reproduce:
1. Open the “unity-2gb-bug.zip“ project
2. Open the “terrain-demo“ scene
3. Build for WebGL

Expected result: Build does not fail
Actual result: Build fails with “System.IO.IOException: The file is too long. This operation is currently limited to supporting files less than 2 gigabytes in size.“

Reproducible with: 6000.0.54f1, 6000.1.13f1, 6000.2.0b12, 6000.3.0a3

Reproducible environment: macOS 15.4.1  (M4 Max), Windows 11 (Reporters)
Not reproducible environment: No other environment tested

Note: More information in the comments

Error:
Building Library/Bee/artifacts/WebGL/webgl.data failed with output:
System.IO.IOException: The file is too long. This operation is currently limited to supporting files less than 2 gigabytes in size.
at System.IO.File.ReadAllBytes(String path)

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.