Aaron
7b291b2190
Added conditional compilation to allow compilation without the uGUI package ( #51 )
2026-10-17 08:00:16 +03:00
Tran Khang
4e4321bdae
Fixed 6.6 NullReferenceException in SpriteAtlas.GetPackedSprites ( #50 )
2026-09-13 00:39:56 +03:00
yasirkula
69f7ee5a27
Made changes for Unity 6.8 in advance ( https://discussions.unity.com/t/path-to-coreclr-2026-upgrade-guide/1714279 )
2026-04-04 20:24:49 +03:00
yasirkula
ac55f29e7d
Removed a duplicate code
2026-03-19 13:54:11 +03:00
yasirkula
8f8316266c
Addressable groups are checked when Addressables support is enabled ( fixed #29 )
2025-12-31 12:11:51 +03:00
yasirkula
6edf344ebc
Fixed prefabs' child objects' references being marked as redundant even though they aren't
2025-12-31 10:11:24 +03:00
yasirkula
0342ab20c9
For simplicity's sake, removed the following search parameters that were only exposed in the code: searchNonSerializableVariables, fieldModifiers, propertyModifiers
2025-12-28 23:09:14 +03:00
yasirkula
6a158cba7e
Plugin is now compatible with Unity 6.3 ( fixed #46 )( fixed #47 )
2025-12-21 16:06:47 +03:00
yasirkula
652dbe2171
Fixed CS0649 warning in Visual Studio Error list
2025-12-21 15:15:44 +03:00
yasirkula
a1b66ced77
Removed pre-2021.3 compiler directives to simplify the codebase
2025-12-21 15:15:18 +03:00
Stefan Tscheppe
2bd6a02504
Fix typo in property name used for AssetReference usage search ( #48 )
2025-12-10 15:59:10 +03:00
yasirkula
4415d4b6f4
Updated Unity version to 2021.3.41f1 (simplified codebase accordingly)
2025-05-19 21:14:29 +03:00
arkms
5104901c5d
Searching for usages of SpriteAtlas will now include its Sprites, as well ( #43 )
2025-05-19 20:08:46 +03:00
yasirkula
962f6e04d4
Changed "Hide non-overridden prefab variables" options to "Hide redundant prefab references" which now also apply to C# scripts' and prefab assets' usages ( #42 )
2024-12-10 19:58:09 +03:00
yasirkula
50ce6f56c9
Tiny fix for a switch-case that couldn't be properly auto indentated
2024-12-10 19:05:58 +03:00
yasirkula
610fffc763
Added "Hide non-overridden prefab variables in scenes" setting ( closed #42 ) + Renamed "Hide redundant prefab variant links" to "Hide non-overridden prefab variables in assets"
2024-11-02 14:55:40 +03:00
yasirkula
66dd66787c
Fixed NullReferenceException on newest Unity versions if VFX Graph package is installed
2024-05-12 13:02:28 +03:00
yasirkula
da921c2e06
"Hide redundant prefab variant links" setting now works as expected, only affecting variables in components and not affecting prefab/MonoScript usages
2023-11-18 17:53:42 +03:00
yasirkula
d9cc52cc37
Fixed some properties not being searched in edge cases that may occur when Addressables or VFX Graph packages are present in the project
2023-11-18 17:50:27 +03:00
yasirkula
efad9fa158
Muted an exception that is raised while searching "ref struct"s for reference
2023-10-07 20:39:31 +03:00
yasirkula
6cd2b407cc
Scene lighting settings are now searched for references (can be turned off)
2023-10-07 20:38:37 +03:00
yasirkula
5eda0c1cb0
Added VFX Graph support
2023-05-07 21:47:22 +03:00
yasirkula
3fa3344507
Fixed #33
2023-03-18 15:09:37 +03:00
yasirkula
8072530c2c
Added experimental Addressables support (requires manual modifications) ( closed #29 )
2022-10-15 17:11:42 +03:00
yasirkula
28a73e2843
Shaders are searched for #include_with_pragmas references in addition to #include references
2022-09-23 14:17:52 +03:00
yasirkula
635d0653fa
Material's color and mainTexture properties aren't searched at runtime since they're searched by SearchMaterial anyways and they can actually throw errors in the Console if the corresponding shader property doesn't exist
2022-09-23 14:15:13 +03:00
yasirkula
cb4454b493
- Terrains are now searched properly
...
- Fixed an error on latest Unity versions when clicking the "Reset Search" button
2022-07-23 21:53:11 +03:00
yasirkula
4b146280ab
(Experimental)( #14 ) Added SearchRefactoring parameter to AssetUsageDetector (only useful while triggering the search via Scripting API). It allows getting notified of found references during the search (some references like Assembly Definition File references or Shader Graph references aren't supported) and in most cases, refactoring them (e.g. changing all usages of a searched object with something else or null). Disabling "Lazy Scene Search" is recommended while using this feature and it's advised to backup your project beforehand
2022-01-05 10:18:17 +03:00
yasirkula
8a6fe822d6
Materials instantiated (cloned) at runtime are now searched correctly
2022-01-05 10:17:07 +03:00
yasirkula
60f8d30810
Undo'ed a previous change that resulted in some particle system variables not being searched in play mode
2022-01-04 23:20:38 +03:00
yasirkula
6939dbc088
- Completely changed how search results are displayed. They are now rendered as tree views which allows multi-selection, search, hiding desired rows, keyboard navigation, easy collapse/expand of multiple rows and more!
...
- Unused objects among the searched objects can now be found (experimental)
- It's now possible to search unused material properties, as well (e.g. normal map of a material that no longer uses normal mapping)
- Class/interface inheritance references can now be found (not always possible due to Unity's limitation in the used API)
- Most settings/colors can be tweaked from Project Settings
- Asset Usage Detector window can now be locked. When all open windows are locked, "Search for References" automatically opens a new window
- It's possible to configure whether clicked search results should immediately be selected in Hierarchy/Project or only on double click (or never at all)
- Optimizations and bugfixes
2022-01-01 21:40:37 +03:00
yasirkula
f724dd2fdb
References to a scene object's prefab parent's prefab parent (at any depth) are now found correctly
2021-12-19 19:02:35 +03:00
yasirkula
40a28f5961
Fixed a bug where 'Scene object->Prefab->Asset' references would sometimes be skipped if Scene object wasn't referencing the correct component of the prefab
2021-11-28 19:35:37 +03:00
yasirkula
b535e09ba2
Fixed a crucial bug that would cause some valid references to be skipped (e.g. Camera's 'Target Texture')
2021-11-28 19:32:16 +03:00
yasirkula
8cc7798f17
Fixed a rare ArgumentNullException when searching an Animation/Animator component ( #28 )
2021-09-26 12:33:44 +03:00
yasirkula
ac294324dd
When a folder is assigned to a sprite atlas, all sprites in that folder are searched
2021-07-25 17:23:17 +03:00
yasirkula
8dc7d5508b
ParticleSystem's Sub Emitters module is now searched correctly
2021-07-25 17:22:00 +03:00
Nika Burimenko
c9131811e2
Sprites assigned to Particle System's Texture Sheet Animation Module are now detected ( #26 )
...
Fixed Sprite within Particle System's Texture Sheet Animation not being detected
Authored-by: Nika Burimenko <remedy89@gmail.com >
2021-07-25 16:37:44 +03:00
yasirkula
a6b0f5ae92
Unity 2020 support
2021-05-18 13:47:38 +03:00
Süleyman Yasir KULA
8e7369e44e
Some properties in Project Settings like "Quality Settings->SRP Asset" weren't included in search, fixed
2021-03-28 19:57:44 +03:00
Süleyman Yasir KULA
7b60eeacf7
If an exception occurs while searching for references via reflection, the problematic object will be skipped and a warning will be logged to the console instead of interrupting the whole search
2021-03-17 16:13:24 +03:00
Süleyman Yasir KULA
b8470536b9
- Following variables of ParticleSystem are now included in search: LightsModule->Light, CollisionModule->Plane, TriggerModule->Collider
...
- Improved readability of texts in dark Editor skin
- Fixed "Animator is not playing an AnimatorController" warnings
- Fixed "TMP_Sprite Animator" component getting added to TextMesh Pro objects in the scene while searching for a scene object's references at runtime
2021-03-14 17:15:00 +03:00
Süleyman Yasir KULA
ba7539d983
References from Animator Override Controllers to their base Animator Controllers are now found
2020-11-18 13:46:42 +03:00
Süleyman Yasir KULA
f4129574fb
- Custom meshes used in ParticleSystem's Renderer module weren't included in the search, fixed
...
- Fix an exception that occurred when searching an Assembly Definition File's references if one of its References was missing
2020-10-01 13:43:23 +03:00
Süleyman Yasir KULA
003cedd363
- Added 2 options to the "Search for References" button in Hierarchy objects' context (right-click) menu: "This Object Only" and "Include Children"
...
- In search results, "arrayVariable.Array.data[0]" is now displayed as "arrayVariable[0]"
2020-08-08 19:52:59 +03:00
Süleyman Yasir KULA
68f1b2809e
- Previous HideInInspector solution wasn't working if a nested variable had HideInInspector, replaced it with a better solution
...
- Added SerializeReference support
- Added 2020.1 generic types support
- Fixed deprecated warning messages on 2020.1
2020-07-27 14:15:08 +03:00
Süleyman Yasir KULA
6280305a63
- Searching for references of a prefab stage object in newest Unity versions wasn't working, fixed
...
- Fields marked with HideInInspector (and with SerializeReference, possibly) weren't searched for references when SearchVariablesWithSerializedObject was used, fixed
2020-07-16 22:39:41 +03:00
Süleyman Yasir KULA
5d04e70b7b
Added support for new Shader Graph serialization format
2020-07-04 17:34:00 +03:00
Süleyman Yasir KULA
541e33db89
- Added Shader Graph support (will probably stop working after the serialization format changes: https://github.com/Unity-Technologies/Graphics/pull/222 )
...
- Added support for searching the "#include" lines in shader source codes (e.g. to find references to included .cginc files)
- Default Texture/Object variables assigned to Shader and MonoScript assets via Inspector are now included in search
- Split AssetUsageDetector class into multiple C# files so that it is easier to navigate to the desired variables/functions
2020-07-02 12:12:19 +03:00