Skip to content
This repository has been archived by the owner on Feb 11, 2024. It is now read-only.

Commit

Permalink
* Bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Barnaby MacBook committed Aug 26, 2018
1 parent 40c34ed commit 272b2cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Scripts/UI/PaletteWindow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,7 @@ void Load(int tabIndex)
// Even when we have a path tracked, construct it fresh from the GUID in case the file has moved and
// there's a new one with the old path. We should always try to track on the GUID since that's what
// Unity does
string path = AssetDatabase.GUIDToAssetPath(trackedObjectString);
string path = AssetDatabase.GUIDToAssetPath(guid);
Object mainAsset = AssetDatabase.LoadMainAssetAtPath(path);

if (mainAsset == null && trackedObjectString.Contains(":"))
Expand Down

0 comments on commit 272b2cb

Please sign in to comment.