Quantcast
Channel: Answers for "Is there a way find usage of an asset?"
Browsing latest articles
Browse All 10 View Live

Answer by Catlard

When I want to find this out, usually I take the asset out of the project, or make it cause an error in some way--and then all the objects with that asset will throw errors. This works for scripts,...

View Article



Answer by Catlard

Here: var go : GameObject; var gos = GameObject.FindGameObjectsWithTag ("TAG YOU THINK YOU WANT"); //finds all gameobjects of that tag, loads them into an array for (go in gos) {...

View Article

Answer by Gotlight

> Is there a way to find all the occurrences of a given asset (where it is being used). i.e the opposite of "select dependencies". Hi! There's a tool which has the opposite core idea to Unity's...

View Article

Answer by Sarchophagi

Use the following **FREE** asset. Instructions are on the link. Really great. https://github.com/yasirkula/UnityAssetUsageDetector

View Article

Answer by BorisOkunskiy

I know it's been a while, but you can open `.meta` file of your asset in question, grab the value of `guid` field and then simply search by this value through all the files (e.g. by using `git grep `)....

View Article


Answer by AndersMalmgren

A variant on @BorisOkunskiy ·that uses powershell. Also it only searches prefabs and scenes Get-ChildItem -Include "*.prefab", "*.unity" -Recurse | Select-String "" -List | Select Path

View Article
Browsing latest articles
Browse All 10 View Live




Latest Images