Unity Issue Tracker - Crash without a Stacktrace when building a Scene Asset Bundle within the Assets folder
Closed
UUM-41187
Crash without a Stacktrace when building a Scene Asset Bundle within the Assets folder
Unity: Asset Bundles
Won't Fix
2023.1.X
2022.3.X
2021.3.X
Crash was caused by building Asset Bundles with BuildPipeline.BuildStreamedSceneAssetBundle method, which is deprecated.
Asset Bundles should be built with BuildPipeline.BuildAssetBundles method instead.
Reproduction steps:
1. Open the “ASDQWE” project
2. Open the “Assets/Scenes/SampleScene.unity” Scene
3. In the top menu, select Builder > Build Scene AssetBundle
4. Select a location within the “Assets” folder and press “Save”
Expected result: Asset Bundle is built
Actual result: The Editor crashes
Reproducible with: 2021.3.27f1, 2022.3.4f1, 2023.1.2f1
Could not test with: 2023.2.0a21 (two “error CS0619: 'BuildPipeline.BuildStreamedSceneAssetBundle(string[], string, BuildTarget)' is obsolete” errors)
Reproducible on: Intel macOS 13.4
Prioritise and Follow this issue
Have a workaround or additional info about this issue?