Skip to content

Instantly share code, notes, and snippets.

View LibraryPathsForAsset_2020_2.cs
using System.IO;
using System.Text;
using UnityEditor;
using UnityEditor.Experimental;
using UnityEngine;
public class LibraryPathsForAsset_2020_2
{
[MenuItem("AssetDatabase/OutputLibraryPathsForAsset")]
public static void OutputLibraryPathsForAsset()
View LibraryPathsForAsset.cs
using System.IO;
using System.Text;
using UnityEditor;
using UnityEditor.Experimental;
using UnityEngine;
public class LibraryPathsForAsset
{
[MenuItem("AssetDatabase/OutputLibraryPathsForAsset")]
public static void OutputLibraryPathsForAsset()
View FindProblematicAsset.cs
using System.Collections.Generic;
using System.IO;
using System.Linq;
using UnityEditor;
using UnityEngine;
public class FindProblematicAsset
{
[MenuItem("AssetDatabase/ZeroGUID")]
public static void GetZeroGUID()
@Unity-Javier
Unity-Javier / DumpAllAssetPaths.cs
Created Feb 17, 2020
Get the path to the Library folder (or in-memory DB) for all assets in a project
View DumpAllAssetPaths.cs
using System.IO;
using System.Text;
using UnityEditor;
using UnityEditor.Experimental;
using UnityEngine;
public class DumpAllAssetPaths : MonoBehaviour
{
[MenuItem("AssetDatabase/OutputAllLibraryPaths")]
public static void OutputPathToAssets()
View gist:1452d8442d76c953cbf7ce584b7f29a8
using System.IO;
using System.Text;
using UnityEditor;
using UnityEditor.Experimental;
using UnityEngine;
public class DumpAllAssetPaths : MonoBehaviour
{
[MenuItem("AssetDatabase/OutputAllLibraryPaths")]
public static void OutputPathToAssets()
@Unity-Javier
Unity-Javier / AssetDistribution.cs
Last active Feb 20, 2020
Output the Distribution of Assets in a CSV friendly format
View AssetDistribution.cs
using System;
using System.Collections.Generic;
using System.Text;
using UnityEditor;
using UnityEngine;
public class AssetDistribution
{
[MenuItem("AssetDatabase/GetAssetDistributions")]
public static void GetAssetDistribution()
You can’t perform that action at this time.