Search Issue Tracker
Fixed in 2022.2.X
Fixed in 2021.3.X, 2022.1.X
Votes
0
Found in
2019.4
2020.3
2021.2
2021.2.4f1
2022.1
Issue ID
1385669
Regression
No
[Linux][Vulkan] Editor crashes due to memory leak when building AssetBundles
Reproduction steps:
1. Download and open the attached project: "1140446ExcessiveVramUseOnBundlUnityProject.zip"
2. Go to Bundles > Build
Expected result: The AssetBundle is built without issue
Actual result: The Editor crashes silently due to excessive VRAM usage
Reproducible with: 2020.3.25f1, 2021.2.7f1, 2022.1.0b2
Could not test with: 2019.4.34f1 (Due to errors when opening the project)
Notes:
- Tested on Ubuntu 18.04 with Nvidia GTX 1060 6GB VRAM and Ubuntu 20.04 with Radeon Pro WX 5100 8GB VRAM
- The system with an AMD GPU reproduced the crash consistently, while the one with an Nvidia GPU only sometimes
- GPU usage was monitored by running terminal commands "watch -d -n 0.5 nvidia-smi" when using an Nvidia GPU or "radeontop" when using an AMD GPU
- Building the AssetBundle would sometimes result in a system-wide slowdown (on the system with an Nvidia GPU when the crash wouldn't occur)
- On average, building the AssetBundle would consume around 4.3GB of VRAM by itself (when the crash wouldn't occur)
- Not reproducible with OpenGL Graphics API
- Not reproducible on Windows with either D3D12 or Vulkan
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
- [Android] Audio sound is lower in the Player compared to the native music player
- Feet slide and misalign when playing retargeted animations
- IndexOutOfRangeException is thrown in NativePassCompiler when a graphics buffer is used in more than 5 render passes
- "Undo Stack Overflow" error is thrown, and Undo History is deleted when multiselected GameObjects are reparented to their GrandParents
- SearchColumn of type "ObjectReference" does not get refreshed for the custom SearchProvider when lighting generation finishes
Resolution Note (fix version 2022.2):
Fixed in version 2022.2.0a9
Resolution Note (fix version 2022.1):
Fixed in version 2022.1.0b15
Resolution Note (fix version 2021.3):
Fixed in version 2021.3.1f1