Skip to content

Instantly share code, notes, and snippets.

@Unity-Javier
Unity-Javier / AssetDistribution.cs
Last active December 15, 2021 23:43
Output the Distribution of Assets in a CSV friendly format
using System;
using System.Collections.Generic;
using System.Text;
using UnityEditor;
using UnityEngine;
public class AssetDistribution
{
[MenuItem("AssetDatabase/GetAssetDistributions")]
public static void GetAssetDistribution()
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 / DumpAllAssetPaths.cs
Created February 17, 2020 10:26
Get the path to the Library folder (or in-memory DB) for all assets in a project
using System.IO;
using System.Text;
using UnityEditor;
using UnityEditor.Experimental;
using UnityEngine;
public class DumpAllAssetPaths : MonoBehaviour
{
[MenuItem("AssetDatabase/OutputAllLibraryPaths")]
public static void OutputPathToAssets()
using System.Collections.Generic;
using System.IO;
using System.Linq;
using UnityEditor;
using UnityEngine;
public class FindProblematicAsset
{
[MenuItem("AssetDatabase/ZeroGUID")]
public static void GetZeroGUID()
using System.IO;
using System.Text;
using UnityEditor;
using UnityEditor.Experimental;
using UnityEngine;
public class LibraryPathsForAsset
{
[MenuItem("AssetDatabase/OutputLibraryPathsForAsset")]
public static void OutputLibraryPathsForAsset()
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()
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading;
using Unity.Profiling;
using UnityEditor;
using UnityEditor.Experimental;
using UnityEditor.Profiling;
using System.IO;
using UnityEngine;
using UnityEditor;
using System.Text;
using UnityEditor.Experimental;
public class AssetSizeEstimation
{
[MenuItem("AssetDatabase/PrintOutPathToFileSizes")]
public static void PrintOutPathToFileSizes()