Search Issue Tracker
Won't Fix
Votes
0
Found in
2022.3.41f1
Issue ID
UUM-77829
Regression
Yes
[Android] Crash on GetStacktrace(int) when a building a corrupted file
Reproduction steps:
1. Open the attached “ASDQWE” project
2. Build and run the Player (File > Build And Run)
3. Observe the build failure
4. Repeat the 2nd step several times until the “Opening File Failed” pop-up appears
5. Press the “Cancel” button several times
6. Observe the Editor
Expected result: The Editor does not crash
Actual result: The Editor crashes and the “Fatal Error!” pop-up is thrown
Reproducible with: 2022.3.25f1, 2022.3.41f1
Not reproducible with: 2021.3.42f1, 2022.3.24f1, 2023.1.0b12, 6000.0.14f1
Could not test with: 2023.1.0a1 - 2023.1.0b11 (Assets could not be migrated correctly)
Reproducible on: MacOS Sonoma 14.5 (Intel), MacOS Sonoma 14.4.1 (Intel) (user’s)
Not reproducible on: No other environment tested
Notes:
- Builds do not fail and the crash does not occur when building for the Standalone Mac, iOS platform
- The issue occurs regardless of the Android build type (e.g. apk, or aab)
First few lines of the stack trace:
Fatal Error!
The file '/Users/------/Library/SplashScreenCache/b2/b25f45f5dd059e0ab5116f9a3f3b86c8' is corrupted! Remove it and launch unity again!
[Position out of bounds!]
#0 GetStacktrace(int)
#1 DebugStringToFile(DebugStringToFileData const&)
#2 CachedReader::OutOfBoundsError(unsigned long, unsigned long)
#3 CachedReader::Read(void*, unsigned long)
#4 void StreamedBinaryRead::TransferSTLStyleArray<core::basic_string<char, core::StringStorageDefault<char>>>(core::basic_string<char, core::StringStorageDefault<char>>&, TransferMetaFlags)
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
- Spot Light with 'Box' Shape stops working when it collides with Mesh
- Accepting Asset Store EULA endless loop in Package Manager window
- “InvalidOperationException: Sequence contains no matching element“ error when reenabling a custom Debug Draw Mode
- Prefab that contains a layout group is marked as changed by the Editor when opened
- Emission animation does not appear when the "Emission Map" parameter is set to black in a Lit material
Resolution Note:
Please do as the error suggests - delete the corrupted file or the Library folder.
There's a high chance this error was caused by the disk corruption.
If it happens again, try placing your project on different hard disk.