Search Issue Tracker
Duplicate
Duplicate in 2020.3.X, 2021.1.X
Votes
3
Found in
2020.2.6f1
2021.1.0b8
2021.2.0a5
2021.2.0a6
Issue ID
1318332
Regression
Yes
"NullReferenceException: SerializedObject of SerializedProperty" is thrown when building Sprite Atlas
How to reproduce:
1. Open the user's attached "DisposedIssue.zip" project
2. Select the "Altlas" Asset in the Project window
3. Press the "Build Atlas" button in the Inspector window
Expected result: Sprite Atlas is built
Actual result: Sprite Atlas is not built and "NullReferenceException: SerializedObject of SerializedProperty has been Disposed." error message is printed in the Console log
Reproducible with: 2020.2.6f1, 2020.3.0f1, 2021.1.0b8, 2021.1.0b10, 2021.2.0a5, 2021.2.0a8
Not reproducible with: 2018.4.32f1, 2019.4.22f1, 2020.2.5f1, 2021.1.0b7, 2021.2.0a5
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
- Audio Mixer does not change volume when lowering volume on an Audio Mixer loaded from AssetBundles
- Error “Value cannot be null. Parameter name: key UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)” thrown and Addressables build fails when "Include in Build" is disabled and using Addressables For Android package
- “error CS0433: The type 'CodeBinaryOperatorType' exists in both 'System.CodeDom and 'System" compilation errors are thrown when opening a specific project
- Metal Vertex Shader warning is being thrown when creating a VR Template Project
- Asset database warning is thrown when declaring font variable in the USS text file
This is a duplicate of issue #1308966