GUID Lookup Window for Unity

Have you ever been stuck with a GUID and no convenient way to figure out what asset that it belongs to?

Screenshot of "GUID Lookup" utility window for Unity.

Worry no more!

public class GUIDLookupWindow : EditorWindow
{
	[MenuItem("Bardic/Guid Lookup...")]
	private static void InitWindow()
	{
		var window = GetWindow<GUIDLookupWindow>(true,"Guid Lookup", true);
		window.minSize = new Vector2(350, 50f);
		window.maxSize = new Vector2(700, 75f);
		window.Show();
	}
	private string inputText, pathDisp;

	private void OnGUI()
	{
		GUILayout.BeginVertical();
		GUILayout.Label("Paste GUID, receive asset.");
		GUILayout.BeginHorizontal();
		inputText = EditorGUILayout.TextField("", inputText);
		pathDisp = AssetDatabase.GUIDToAssetPath(inputText);
		GUILayout.EndHorizontal();            
		if(pathDisp != null)
		{
			GUILayout.BeginHorizontal();
			GUILayout.Space(10f);
			GUILayout.Label(pathDisp, EditorStyles.miniLabel);
			GUILayout.EndHorizontal();
			UnityEngine.Object o = AssetDatabase.LoadAssetAtPath<UnityEngine.Object>(pathDisp);
			GUILayout.BeginHorizontal();
			GUILayout.FlexibleSpace();
			if (o != null && GUILayout.Button(o.name)) Selection.activeObject = o;
			GUILayout.FlexibleSpace();
			GUILayout.EndHorizontal();
		}
		GUILayout.EndVertical();
	}
}

warDrive Early Access Free Game on Steam April 1st

Please take a moment to wishlist warDrive: prologue, a free introduction the game.

The game will unlock for free under Early Access on April 1st, 2022 on Steam. After approximately three months of testing and improvements, the Early Access period will end.

warDrive will continue with three purchasable episodes, adding all new narrative, environment, and enemies to the game.

At full launch at the end of Early Access, Episode 1 will be available to play, with Episodes 2 and 3 being released in the coming months. A season pass including all three episodes will also be available with a slight discount right a way. The base price of each episode will be $2.99.

https://store.steampowered.com/app/1471600/warDrive_Prologue/