Search Issue Tracker
Won't Fix
Won't Fix in 6000.4.X
Votes
0
Found in
2022.3.67f1
6000.0.60f1
6000.2.9f1
6000.3.0b7
6000.4.0a3
Issue ID
UUM-122942
Regression
No
Crash with “Fatal Error! The file ‘MemoryStream’ is corrupted!” when adding a large number in Font Character Rects Size field
Reproduction steps:
1. Create a new project
2. Create > Custom Font
3. Select newly created Asset and expand Character Rects foldout in the Inspector
4. Type a large number in Size field (e.g. “99999999”)
5. Observe the Editor
Actual result: “Fatal Error! The file ‘MemoryStream’ is corrupted!” Pop-up appears and Editor crashes
Expected result: Selected number of Character Rects appears or input number is limited
Reproducible with: 2022.3.67f1, 6000.0.60f1, 6000.2.9f1, 6000.3.0b7, 6000.4.0a3
Reproduced on: Ubuntu 22.04, Windows 11, macOS Sequoia 15.4 (M4)
Note: Full pop-up message: “Fatal Error! The file 'MemoryStream' is corrupted! Remove it and launch unity again! [Position out of bounds!] UnityEngine.GUlUtility:ProcessEvent (int, intptr,bool&)”
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
- Unity Cloud icon does not appear next to project and does not connect correctly when the project is created with Cloud but closed right after creation
- ScrollerSlider in the Scroller Control is still using UXMLTraits
- Crash on ExtractHandles when shutting down the Editor in a specific scene while Burst jobs are in progress
- Unity Hub closes with no "Project is currently open" window when selecting an already open project from the Projects list
- The Hub freezes indefinitely when copy/pasting a lot of characters in the “Set project display name” Hub window since it has no character limit
Resolution Note:
Too risky and low impact to fix. This is a legacy inspector made with IMGUI and it's automatically drawn, adding customization would be complex. Also, Custom Fonts should not have 9999+ rects.
Resolution Note (6000.4.X):
Too risky and low impact to fix. This is a legacy inspector made with IMGUI and it's automatically drawn, adding customization would be complex. Also, Custom Fonts should not have 9999+ rects.