Search Issue Tracker

Fixed

Fixed in Unity Editor

Votes

0

Found in [Package]

1.19.2

Issue ID

BPSBP-148

Regression

No

Crash on BuildPipeline::WriteSceneSerializedFile when building Addressable content

Package: Content Build Including SBP

-

How to reproduce:
1. Open the attached "1357414.zip" project
2. Go to Window -> Asset Management -> Addressables -> Groups
3. In the Addressables Groups window go to Build -> New Build -> Default Build Script

Expected result: Addressable content successfully built
Actual result: The Editor crashes

Reproducible with: 1.19.0, 1.19.1, 1.19.2 (2020.3.17f1, 2021.1.18f1, 2021.2.0b9, 2022.1.0a6)
Couldn't test with: 1.19.2 (2019.4.30f1) (Compilation errors after downgrade)

First lines of the stacktrace:
0x00007ff799205834 (Unity) BuildPipeline::WriteSceneSerializedFile
0x00007ff7998041c6 (Unity) BuildPipeline::WriteSceneSerializedFile_Internal
0x00007ff79970f6f3 (Unity) ContentBuildInterface_CUSTOM_WriteSceneSerializedFile_Internal_Injected

  1. Resolution Note (fix version Unity Editor):

    Fixed edge case passing in missing or deleted objects could crash the Editor during the build.

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.