148 Commits

Author SHA1 Message Date
yasirkula 4415d4b6f4 Updated Unity version to 2021.3.41f1 (simplified codebase accordingly) v2.5.6 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) v2.5.5 2024-12-10 19:58:09 +03:00
yasirkula 204de979ba SearchResultGroup's "Hide Search Results" context menu button automatically exits the search 2024-12-10 19:13:58 +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 0f872ef04d Fix for a tiny warning 2024-12-10 19:04:28 +03:00
yasirkula f68c8a1375 Added AssetUsageDetectorWindow.BeginIndentedGUI and EndIndentedGUI functions to reduce duplicate OnGUI code 2024-12-10 19:04:04 +03:00
yasirkula ecfb1adf88 Added Utilities.DrawHeader function to reduce duplicate OnGUI code 2024-12-10 19:01:23 +03:00
yasirkula e63ebd7f85 Simplifications in Utilities.IsEmpty 2024-12-10 18:59:28 +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 v2.5.4 2024-11-03 12:52:18 +03:00
yasirkula 1faa789f48 Removed an unused variable 2024-11-02 14:56:30 +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 9fddcab6fa Added 'Hide unused sub-assets in "Unused Objects" list if their parent assets are used' option to Settings (closed #39) v2.5.3 2024-08-04 13:24:44 +03:00
yasirkula 66dd66787c Fixed NullReferenceException on newest Unity versions if VFX Graph package is installed v2.5.2 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 v2.5.1 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 e6641bef48 "Show Root Asset's Name" setting is enabled by default + root asset's name is prepended by "in" word for more clarity 2023-11-18 17:46:28 +03:00
yasirkula a6d91a58a3 Scenes in read-only packages aren't searched since they can't be opened (fixed #36) (closed #37) 2023-11-18 17:45:22 +03:00
yasirkula ace8ac4947 Bumped version v2.5.0 2023-10-07 20:43:03 +03:00
yasirkula 02167c28a2 "Show Children In New Window" window no longer auto-closes when clicked outside 2023-10-07 20:42:53 +03:00
yasirkula 092b80ba29 Fixed some references initially being displayed collapsed after the search 2023-10-07 20:41:10 +03:00
yasirkula 524965aee7 If an exception is thrown while accessing a variable via reflection, a more detailed error message is logged 2023-10-07 20:40:21 +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 3c4292159a Fixed deprecated EditorSceneManager warnings on 2022.2+ v2.4.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) v2.4.1 2023-06-27 14:02:34 +03:00
yasirkula cf0fea56ab Fixed 3D model assets' direct children not being pinged correctly when selected via a search result 2023-06-27 14:01:20 +03:00
yasirkula 956aea1ced Added GitHub Sponsors link to README 2023-05-31 11:21:14 +03:00
Süleyman Yasir KULA 466a152ba6 Update README.md v2.4.0 2023-05-07 21:49:19 +03:00
yasirkula 5eda0c1cb0 Added VFX Graph support 2023-05-07 21:47:22 +03:00
yasirkula 42e3278129 Fixed not being able to ping some asset search results in Project window (in particular, VFX graph search results) 2023-05-07 21:38:28 +03:00
yasirkula f6a999f053 Fixed an exception that occurs when a VFX Graph window is open and the open VFX Graph asset is searched for references (there may be other similar edge cases, as well) 2023-05-07 21:37:38 +03:00
yasirkula 8441e4701c Addressables support no longer requires manual modifications 2023-05-07 21:36:05 +03:00
yasirkula d57a707678 Fixed exceptions while searching for some URP assets' references due to their overriden GetHashCode functions v2.3.1 2023-03-18 15:12:13 +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) v2.3.0 2022-10-15 17:11:42 +03:00
yasirkula 28a73e2843 Shaders are searched for #include_with_pragmas references in addition to #include references v2.2.3 2022-09-23 14:17:52 +03:00
yasirkula c7e52466ef Added Collapse All button to Asset Usage Detector window's context menu that collapses all search result groups at once 2022-09-23 14:16:52 +03:00
yasirkula 875f3e6794 Fixed right clicking Unused Objects group throwing an exception if that search result group hasn't been expanded yet 2022-09-23 14:16:04 +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
v2.2.2
2022-07-23 21:53:11 +03:00
yasirkula dfb8541605 Fixed compiler errors on 2021.2 and later v2.2.1 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 v2.2.0 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 c9ceab6085 Fixed Settings not fitting inside Preferences window on older Unity versions 2022-01-04 23:24:55 +03:00
yasirkula 4fddcb7b80 Simplified "Can't search unloaded scenes in play mode" warnings 2022-01-04 23:24:49 +03:00
yasirkula 001df6eb6c Fixed locked AssetUsageDetector windows entering an inconsistent state after relaunching the editor 2022-01-04 23:24:30 +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 c9dbd2d201 Fixed README.txt link in documentation 2022-01-01 21:47:43 +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
v2.1.0
2022-01-01 21:40:37 +03:00