UnityPy icon indicating copy to clipboard operation
UnityPy copied to clipboard

Problem Description: WebGL File Read/Write Exception

Open 2361788963 opened this issue 6 months ago • 2 comments

When modifying uncompressed WebGL builds (webgl.data): After modifying and saving the asset bundle with UnityPy, the resulting file is significantly larger than the original.

When modifying compressed WebGL builds (webgl.data.unityweb): The modified and saved bundle fails to run. The error encountered is: Uncaught (in promise) RangeError: Maximum call stack size exceeded

2361788963 avatar Aug 22 '25 20:08 2361788963

Maybe these problems are releated to data compression.

Please provide the sample file and the detailed stacktrace.

isHarryh avatar Sep 01 '25 08:09 isHarryh

A sample would be handy.

The saved modified asset being larger is likely due to either no used compression on saving, or a lower compression level used in UnityPy. (I oriented it at some older Unity build).

K0lb3 avatar Sep 05 '25 20:09 K0lb3