Skip to content

Commit b3be59f

Browse files
committed
fix: Fixed generic scriptable object not being created through the Creatable attribute for the first time
1 parent 9d28a2d commit b3be59f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Editor/ScriptableObjects/GenericSOCreator.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ public static ScriptableObject CreateAssetAtPath(SerializedProperty property, Ty
126126
}
127127

128128
PersistentStorage.SaveData(GenericSOTypeKey, new TypeReference(genericType));
129-
PersistentStorage.SaveData(PathKey, new TypeReference(path));
129+
PersistentStorage.SaveData(PathKey, path);
130130
SaveProperty(property);
131131
PersistentStorage.ExecuteOnScriptsReload(FinishSOCreationAtPath);
132132

0 commit comments

Comments
 (0)