Search Issue Tracker

Won't Fix

Votes

0

Found in

2022.3.4f1

Issue ID

UUM-41700

Regression

No

ALLOC_TEMP_TLS error when using a shortcut to open a custom window and its MenuItem path contains an emoji

--

-

Reproduction steps:
1. Open the “EmojiLeakStripped“ project
2. Open the test window (control/ctrl + R) and close it
3. Click inside any window (e.g. Console) and observe the Console
4. Repeat steps 2-3 up to 5 times

Expected result: No “ALLOC_TEMP_TLS” error
Actual result: “TLS Allocator ALLOC_TEMP_TLS, underlying allocator ALLOC_TEMP_MAIN has unfreed allocations, size 28” error

Reproduced in: 2022.1.0a10, 2022.2.0a19, 2022.3.4f1
Not reproduced in: 2021.3.28f1, 2022.1.0a9, 2023.1.0a1, 2023.1.3f1, 2023.2.0a23

Reproduced using: macOS 13.4.1 (Intel)

Notes:
1. Not reproduced when opening the test window via the main menu (Assets > Test > [Bug] Bug Window)
2. Not reproduced when removing the emoji from the test window’s MenuItem path

Full error:
TLS Allocator ALLOC_TEMP_TLS, underlying allocator ALLOC_TEMP_MAIN has unfreed allocations, size 28
UnityEditor.EditorWindow:ShowModal ()
MyWindow:ShowExample () (at Assets/Editor/MyWindow.cs:12)
UnityEditor.EditorApplication:Internal_CallGlobalEventHandler ()

  1. Resolution Note:

    There are no fixes planned for this Bug

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.