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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
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