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
- Tile Palette selected dropdown text does not update when palette is renamed
- ArgumentException thrown and reference to Template gets unset when opening UXML file after editing referenced Template in Play mode
- [iOS][WebGL] Player freezes when multiple properties of a VisualElement are changed at the same time
- Warning 'GetControlID at event ValidateCommand returns a controlID different from the one in the Layout event' is logged when undoing the deletion of an Edited Freeform 2D Light
- ShadowCaster2D breaks on certain Rotation positions when Casting Source is set to PolygonCollider2D
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&)