Skip to content

Commit

Permalink
fix: Fixed generic scriptable object not being created through the Cr…
Browse files Browse the repository at this point in the history
…eatable attribute for the first time
  • Loading branch information
SolidAlloy committed Mar 13, 2022
1 parent 9d28a2d commit b3be59f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Editor/ScriptableObjects/GenericSOCreator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ public static ScriptableObject CreateAssetAtPath(SerializedProperty property, Ty
}

PersistentStorage.SaveData(GenericSOTypeKey, new TypeReference(genericType));
PersistentStorage.SaveData(PathKey, new TypeReference(path));
PersistentStorage.SaveData(PathKey, path);
SaveProperty(property);
PersistentStorage.ExecuteOnScriptsReload(FinishSOCreationAtPath);

Expand Down

0 comments on commit b3be59f

Please sign in to comment.