Search Issue Tracker

Won't Fix

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&)”

  1. 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.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.