Search Issue Tracker
Won't Fix
Won't Fix in 2022.3.X
Votes
1
Found in
2021.3.28f1
2022.3.7f1
Issue ID
UUM-47651
Regression
No
"Assertion failed on expression: 'CurrentThreadIsMainThread'" when calling Debug.Log() with a context that is null
Reproduction steps:
1. Open the attached project “testDebug”
2. Open Scene “Assets/Scenes/SampleScene.unity”
3. Enter the Play Mode
4. In the Game view press the “Without Context” + “Debug on Thread” button (top-right button)
5. Observe the Console output
Expected result: No errors in the Console
Actual result: Console outputs “Assertion failed on expression: 'CurrentThread::IsMainThread()'“
Reproducible with: 2021.3.28f1, 2022.3.7f1, 2023.1.0a16
Not reproducible with: 2023.2.0b5
Fixed in: 2023.1.0a17
Reproducible on: MacOS 13.3.1 (Intel), Windows 11
Not reproducible on: No other environment tested
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
- Crash on CallWindowProcW when entering Play mode for the second time and running the Editor in the background while using System.Windows.Forms functions
- 2D Freeform Light shadows disappear when light center is offset from shape bounds
- Crash on MarkAllDependencies when opening scenes with Assets from the YarnSpinner package
- Crash on CollectAllSceneManagerAndObjectIDs when opening a specific Scene
- GPU device suspended error when replaying a video in the Video Player with NVIDIA Vertical Sync set to Fast
Resolution Note:
There are no fixes planned for this Bug
Resolution Note (2022.3.X):
There are no fixes planned for this Bug