Search Issue Tracker
Fixed
Fixed in 2020.3.44f1, 2021.3.17f1, 2022.2.2f1, 2023.1.0a23
Votes
28
Found in
2020.3.39f1
2021.3.14f1
Issue ID
UUM-14969
Regression
Yes
"Resolve of invalid GC handle" error occurs when exiting Play mode after creating a tilemap
Reproduction steps:
# Create and open a new 2D core project
# In the Hierarchy window create a tilemap GameObject
# Enter and Exit Play mode
Expected result: Play mode is exited without any errors occuring
Actual result: “Resolve of invalid GC handle. The handle is from a previous domain. The resolve operation is skipped.
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)“ error occurs
Reproducible with: 2020.3.38f1, 2020.3.39f1
Not reproducible with: 2020.3.37f1, 2021.1.0a1, 2021.3.10f1, 2022.1.16f1, 2022.2.0b8, 2023.1.0a10
Reproduced on: Windows 10 Pro
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
- Standalone Player crashes with "TDerived GetOrLoad<TDerived>() where TDerived : T" when IL2CPP Code generation is set to "Faster (smaller) Builds"
- IndexOutOfRangeException and InvalidOperationException when logging XML string
- Script missing in "Assets/Settings/Mobile_Renderer/GlobalVolumeFeature" of "com.unity.template.urp-blank" template
- “Font Asset Creator - Error Code [Invalid_File_Structure]…“ error is logged when generating Font Assets from fonts with meta files from previous Editor versions
- Input.mousePosition returns (NaN, NaN, 0.00) when Scene view is opened
stanleyafon
Jul 29, 2023 09:02
2021.3.19f1
2023.2.0b1
Stack:
Resolve of invalid GC handle. The handle is from a previous domain. The resolve operation is skipped.
#fix invalid GC handle now
unitydreamer29
Jan 17, 2023 19:14
I get the error when Entering play mode on 2020.3.43, not exiting.
Resolve of invalid GC handle. The handle is from a previous domain. The resolve operation is skipped.
UnityEngine.GUILayout:Window (int,UnityEngine.Rect,UnityEngine.GUI/WindowFunction,string,UnityEngine.GUIStyle,UnityEngine.GUILayoutOption[])
TheWalrusDev
Dec 27, 2022 00:49
So easy to fix. Just exit the game object you are currently on!
xiaoguangxing
Nov 28, 2022 07:49
close scene window seems can stop this error be reported in console
Brother_77
Nov 19, 2022 06:32
Hi, when could we expect a fix ? Thank you.
Kewels
Nov 08, 2022 02:02
Same issue in 2020.3.41 , but it happens when entering play mode after upgrading from 2019.4.37.
Brother_77
Oct 31, 2022 08:54
I had it today again when exiting play mode.
When could we expect a fix ?
BaluKhan
Oct 24, 2022 18:36
I am also having the same error while using unity mediation ads
msegundo
Oct 23, 2022 19:37
hola estaba en el tutorial de unity junior y me apareció este error tengo la versión de 2020
Resolve of invalid GC handle. The handle is from a previous domain. The resolve operation is skipped.
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
Drakkashi
Oct 11, 2022 10:22
Got this error after upgrading to 2022.1.17f, when using the GUILayout.Window method inside an EditorWindow script.
Functionality of the script is unaffected, but we get spammed with errors everytime we leave playmode with the window open.
Resolve of invalid GC handle. The handle is from a previous domain. The resolve operation is skipped.
UnityEngine.GUILayout:Window (int,UnityEngine.Rect,UnityEngine.GUI/WindowFunction,string,UnityEngine.GUIStyle,UnityEngine.GUILayoutOption[])
Aine.CanvasWindow:DrawNodes () (at Assets/Plugins/Aine/Scripts/Canvas/Editor/CanvasWindow.cs:691)
Aine.CanvasWindow:OnGUI () (at Assets/Plugins/Aine/Scripts/Canvas/Editor/CanvasWindow.cs:305)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)