Search Issue Tracker
By Design
Votes
0
Found in
5.5.1p1
Issue ID
897843
Regression
No
[WebGL] Loading large Prefab from Resources folder takes a lot of time
Reproduction steps:
1. Open the attached "Load" project.
2. Build and run the "MainScene" for WebGL.
3. Click space.
4. Notice the printed time after a few seconds (It shows loading time).
5. Compare it between different platforms and browsers.
- Editor - 0.33 s
- OSX Standalone - 0.25 s
- WebGL Firefox - 1.33 s
- WebGL Chrome - 2.94 s
- WebGL Safari - 2.48 s
Notes:
- May be related to _UNITY_LZ4_decompress_safe function, that was called from Resources.Load.
- Prefab size should be ~2+ Mb size.
Workaround:
- Load files through Asset Bundles.
Reproduced with:
5.5.0b1, 5.6.0f3, 2017.1.0a6
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Add comment