Search Issue Tracker

Fixed in 2022.2.X



Found in






Issue ID




[Linux] Unity crashes or freezes when loading an AssetBundle with AssetBundle.LoadFromFile



Reproduction steps:
1. Download the attached zip file: ""
2, Extract the project and two AssetBundles: "New Unity", "CubeV1.assetbundle", "CubeV2.assetbundle"
3. Open the project and enter the Play Mode
4. Click on the "Open" button and select one of the aforementioned AssetBundles

Expected result: The AssetBundle is loaded and displayed
Actual result: Unity freezes or crashes with a variation of the stack trace below

Example of the stack trace:
#0 0x007f18ae9ba980 in funlockfile
#1 0x007f18ae5f5fb7 in gsignal
#2 0x007f18ae5f7921 in abort
#3 0x007f18ae640967 in __fsetlocking
#4 0x007f18ae6479da in _IO_str_seekoff
#5 0x007f18ae64ef0c in cfree

Reproducible with: 2019.4.25f1, 2020.3.6f1, 2021.1.5f1, 2021.2.0a15
Could not test with: 2018.4 (Due to errors when opening the project)

- Not reproducible on macOS or Windows
- Reproducible in Editor and Player with both OpenGL and Vulkan Graphics API and either version of the AssetBundles
- Vulkan Graphics API would earlier result in a different crash stack trace but has now been replaced with this one
- Sometimes the Editor freezes only after entering Play Mode the second time and attempting to load an AssetBundle again
- This crash has been observed and reported by users after importing an Asset from the Asset Store, but no consistent reproduction of such issues have been found

  1. Resolution Note (fix version 2022.2):

    Fixed in version 2022.2.0a6

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.