diff --git a/Assets/UniGLTF/Editor/UniGLTF/ScriptedImporter/RemapScriptedImporterEditorBase.cs b/Assets/UniGLTF/Editor/UniGLTF/ScriptedImporter/RemapScriptedImporterEditorBase.cs
index 77a6d9694..bf4803adf 100644
--- a/Assets/UniGLTF/Editor/UniGLTF/ScriptedImporter/RemapScriptedImporterEditorBase.cs
+++ b/Assets/UniGLTF/Editor/UniGLTF/ScriptedImporter/RemapScriptedImporterEditorBase.cs
@@ -44,9 +44,24 @@ namespace UniGLTF
m_editMap.AddRange(value.Select(kv => new RemapEditorBase.SubAssetPair(kv.Key, kv.Value)));
}
+#if UNITY_2022_2_OR_NEWER
///
/// Revert
///
+ public override void DiscardChanges()
+ {
+ m_editMap.Clear();
+
+ base.DiscardChanges();
+ }
+#endif
+
+ ///
+ /// Revert
+ ///
+#if UNITY_2022_2_OR_NEWER
+ [System.Obsolete]
+#endif
protected override void ResetValues()
{
m_editMap.Clear();