Search Issue Tracker
Fixed in 2022.2.19f1
Fixed in 2022.2.X, 2023.1.X, 2023.2.X
Votes
1
Found in
2022.1.23f1
2022.2.0f1
2023.1.0a20
2023.1.0b8
Issue ID
UUM-20587
Regression
Yes
Crash on CachedWriter::Write when building a project that has access to files being denied
Reproduction steps:
1. Open the attached “repro-project”
2. Build the project
Expected result: Build completed with a result of ‘Succeeded' or 'Failed’
Actual result: The Editor crashes
Reproducible with: 2022.1.0a15, 2022.1.23f1, 2022.2.0f1, 2023.1.0a20
Not reproducible with: 2020.3.42f1, 2021.3.14f1, 2022.1.0a14
Reproduced on: Windows 10 Pro
Note: When trying to build for a Standalone, Android, or Dedicated Server platform a Fatal Error pop-up appears
First few lines of the stack trace:
{{0x00007ff63d3d52c3 (Unity) CachedWriter::Write }}
{{0x00007ff63d77bf11 (Unity) StreamedBinaryWrite::TransferTypelessData }}
{{0x00007ff63d23e8cf (Unity) Texture2D::Transfer<StreamedBinaryWrite> }}
{{0x00007ff63d765c37 (Unity) SerializedFile::WriteObject }}
{{0x00007ff63d750069 (Unity) PersistentManager::WriteFile}}
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Add comment