Commit Graph

45 Commits

Author SHA1 Message Date
yasirkula 955972cc00 Fixed search getting stuck in play mode if a pending Task is searched by reflection 2026-03-19 13:55:21 +03:00
yasirkula 8f8316266c Addressable groups are checked when Addressables support is enabled (fixed #29) 2025-12-31 12:11:51 +03:00
yasirkula 790a508dcd Fixed GetScreenFittedRect not working on Unity 2022.3.62+, 6.0.49+ and 6.1.0+ 2025-06-01 17:55:42 +03:00
yasirkula 4415d4b6f4 Updated Unity version to 2021.3.41f1 (simplified codebase accordingly) 2025-05-19 21:14:29 +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 d5b082c093 Added "Hide Search Results" to search result groups' context menu if their search results are filtered via a search term (i.e. text filtering). For example, you can filter search results with term "[Prefab object]" and then right click the group and select this option to hide all prefab instance occurrences in that group 2024-11-03 12:52:18 +03:00
yasirkula 9fddcab6fa Added 'Hide unused sub-assets in "Unused Objects" list if their parent assets are used' option to Settings (closed #39) 2024-08-04 13:24:44 +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 ace8ac4947 Bumped version 2023-10-07 20:43:03 +03:00
yasirkula 3c4292159a Fixed deprecated EditorSceneManager warnings on 2022.2+ 2023-08-31 07:10:51 +03:00
yasirkula 1a2eba24bd Added a setting to show sub-assets' root asset names in search results (disabled by default) (closes #35) 2023-06-27 14:02:34 +03:00
yasirkula 5eda0c1cb0 Added VFX Graph support 2023-05-07 21:47:22 +03:00
yasirkula d57a707678 Fixed exceptions while searching for some URP assets' references due to their overriden GetHashCode functions 2023-03-18 15:12:13 +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 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 dfb8541605 Fixed compiler errors on 2021.2 and later 2022-04-24 15:14:47 +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 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 b7b6f8815e Search results in scenes are simplified (i.e. 'Scene object A->Scene object B->Scene object C->Searched asset' references now become 'Scene object C->Searched asset') 2021-11-28 19:42:17 +03:00
yasirkula 93c955993a Previous commit applies to 'Refresh' buttons, as well 2021-10-21 15:08:46 +03:00
yasirkula 21f8daffde - Search can now be started even if some scene(s) aren't saved but the search results in those scene(s) may be incorrect
- lazySceneSearch and showDetailedProgressBar are enabled by default for better UX
2021-10-21 14:56:51 +03:00
yasirkula 8cc7798f17 Fixed a rare ArgumentNullException when searching an Animation/Animator component (#28) 2021-09-26 12:33:44 +03:00
yasirkula 45b0f6f1d9 Version 1.9.7 2021-07-25 18:00:33 +03:00
yasirkula 133b8b1227 Fixed small text issue on 2019.1 and 2019.2 (some devices might not have been affected by this issue) 2021-07-06 17:49:31 +03:00
yasirkula 1db9dbf9b0 Fixed issues with mysterious empty dependencies returned by AssetDatabase.GetDependencies 2021-06-09 12:35:25 +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 1bebc8691d Update package.json
Added documentationUrl, changelogUrl and licensesUrl to package.json
2021-01-19 12:51:21 +03:00
Süleyman Yasir KULA 5a81e5011b While using the Search for References button in right-click menu, if current scene setup is different from the initial scene setup, plugin now asks user whether or not they want to restore the initial scene setup instead of automatically restoring the initial scene setup 2020-12-22 22:46:22 +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 7738da9d19 "Search for References-Include Children" didn't include inactive child objects in search, fixed 2020-09-23 23:12:47 +03:00
Süleyman Yasir KULA 077505a217 Fixed a rare issue that occurs when searching properties with ref returns for references in Play mode 2020-08-20 12:24:37 +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 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
Süleyman Yasir KULA bc3a8069b4 - Project Settings are now searched for references
- Fixed #20
2020-06-27 00:18:45 +03:00
Süleyman Yasir KULA 98d1f43180 References to "SceneAsset"s are now found (fixes #22) 2020-06-16 18:46:22 +03:00
Süleyman Yasir KULA 7d24aa4939 Update package.json 2020-05-29 21:23:42 +03:00
Süleyman Yasir KULA 7358b12609 Added Package Manager support 2020-04-28 12:22:48 +03:00