Search Issue Tracker
Fixed
Votes
1
Found in
2020.3
2021.1
2021.2
2021.2.0a8
Issue ID
1329276
Regression
No
Crash on SerializedFile::WriteObject while building the project
Reproduction steps:
1. Open the user's attached project "Odd Levels.zip"
2. Go to File > Build And Run
Expected result: The project doesn't crash during build time
Actual result: The project crashes during build time
Reproducible with: 2020.3.5f1, 2021.1.4f1, 2021.2.0a14
Could not test with: 2018.4.34f1, 2019.4.25f1 (Due to project errors while downgrading)
Notes:
-The issue is reproducible on Windows Standalone and Android platform
-The issue is not reproducible on macOS Standalone
-The issue is still reproducible after deleting the Library folder
First lines of stack trace:
0x00007ff62dc8b515 (Unity) SerializedFile::WriteObject
0x00007ff62dc73518 (Unity) PersistentManager::WriteFile
0x00007ff62dc752fd (Unity) PersistentManager::WriteFile
0x00007ff62e8f3cf7 (Unity) WriteSharedAssetFile
0x00007ff62e8e13bb (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
- [Android] [Vulkan] Cubes stuck on the first few frames of rotation and application flickering when an Overlay Camera is added to the Camera Stack with MSAA enabled
- Profiling information icon does not update for Light Mode
- [Linux] Type to select functionality is missing for drop down menus
- TextMeshPro calculates Width Compression incorrectly when using certain values in the WD% field
- VFX Graph link contrasts fail WCAG guidelines
Resolution Note:
As a temporary work around you can either set the Vertex Compression to at least have one channel uncompressed (Edit > Project Settings > Player > Vertex Compression). Or in your project folder go to the file ProjectFolder/ProjectSettings.asset, open this with any text editor and search for "VertexChannelCompressionMask: 2147483647". Change the value from 2147483647 to -1.
Fixed in 2022.1.0a7