Search Issue Tracker
Fixed in 2022.2.X
Votes
3
Found in
2019.4
2020.3
2021.1
2021.1.5f1
2021.2
Issue ID
1331073
Regression
No
[Linux] Unity crashes or freezes when loading an AssetBundle with AssetBundle.LoadFromFile
Reproduction steps:
1. Download the attached zip file: "case_1308947.zip"
2, Extract the project and two AssetBundles: "New Unity Project.zip", "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)
Notes:
- 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
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
- Crash on RaiseException when terrain detail instancing is excessive
- Prefab variant reference is lost when assigned by click-and-drag in Prefab Editor mode
- Opening any dropdown in Shader Graph stops the Nodes preview but it still plays in the background
- GPU utilization increases when a GameObject is selected
- Motion Blur has sharp edges when object is moving in the foreground of another object
Resolution Note (fix version 2022.2):
Fixed in version 2022.2.0a6