Search Issue Tracker
Won't Fix
Votes
0
Found in
2021.3.35f1
2022.3.20f1
2023.2.10f1
2023.3.0b7
6000.0.0b11
Issue ID
UUM-63977
Regression
No
Crash on JsonUtility_CUSTOM_FromJsonInternal when running "JsonUtility.FromJson" in a Thread
How to reproduce:
1. Open the “JsonThreadCrash“ project
2. Open “TestJsonUtility” > “StartTest”
3. Wait for 5 seconds
4. Exit the Editor
5. Observe the crash
Reproduced with: 2021.3.35f1, 2022.3.20f1, 2023.2.10f1, 2023.3.0b7
Reproduced on: Windows 10 (by reporter), Windows 11
Not reproduced on: No other environment tested
First few lines of the stack trace:
0x00007FF95D09567C (KERNELBASE) RaiseException
[Licensing::IpcConnector] License Notification channel disconnected successfully.
[Licensing::IpcConnector] License Client channel disconnected successfully.
Cleanup mono
0x00007FF62FCEDB1E (Unity) LaunchBugReporter
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
- Can’t delete gradient keys with Mac keyboard or context menu options
- Editor freezes for a few minutes when closing or switching a VFX window that was opened in a previous project
- UI Overlaps when switching Render Pipeline Asset for different Quality Levels in Quality Project Settings
- Ray Tracing Shader link to the documentation isn’t working
- Warning "BatchRendererGroups currently don't support override shaders" is spammed in Play mode when using H-Trace WSGI with BatchRenderGroups
Resolution Note:
Upon further inspection the reason of the crash is due to unsupported behavior.
Even though some versions of JsonUtility.FromJson can be used from background threads, this will not work after the Editor is closed.
The threads need to be stopped as the editor closes.
I can see that EditorApplication.quitting is used in other places in the project, it should be used here as well, and this should resolve the problem.