Search Issue Tracker
Won't Fix
Votes
0
Found in
2021.3.9f1
Issue ID
UUM-14531
Regression
No
Crash on "SerializedFile::WriteObject" when building the project
How to reproduce:
1. Open the project “IN-9487”
2. Press File → Build And Run
Expected result: project builds successfully
Actual result: editor crashes
Reproducible with: 2021.3.9f1
Could not test with: 2020.3.37f1, 2022.1.13f1, 2022.2.0b6, 2023.1.0a6 (due to compiler errors)
Reproducible on: Windows 10 Pro
Notes:
- Issue happens with IL2CPP and Mono Scripting Backends
- Issue persists when no scenes are selected for the build
First lines of the Stack trace:
0x00007ff7b5fc1db4 (Unity) SerializedFile::WriteObject
0x00007ff7b5fa9cc5 (Unity) PersistentManager::WriteFile
0x00007ff7b5fab88d (Unity) PersistentManager::WriteFile
0x00007ff7b65235e1 (Unity) WriteSharedAssetFile
0x00007ff7b65126cb (Unity) CompileSharedAssetsFile
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
- Spots of bad lighting appear on assets when the lighting is generated in a Scene
- Static Editor Flags dropdown list is cut off when Inspector Window is docked to the very right and UI Scaling is set to a higher value
- visionOS Players are minimized when Guided Access is turned on
- Licensing Client fails to launch when opening Unity Hub
- Sprite Atlas Inspector preview disappears when entering Play mode unless SpriteAtlasMode is set to "Sprite Atlas V2 - Enabled"
Resolution Note:
The crash isn't reproducible the latest 2021.3 LTS, and there are asset errors/warnings in the project as a result of upgrading from 2021.1 to 2021.3. If the user can still reproduce the crash in the latest 2021.3 LTS and resolve the upgrade issues in the project, then the ticket can be re-opened.