120 Commits

Author SHA1 Message Date
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
yasirkula dd922e85e4 Lists like "Search references of:" can now be cleared by right clicking 2021-12-19 19:05:32 +03:00
yasirkula 9648f856d1 When a scene object had a reference to a prefab and one of that prefab's children used a searched asset (e.g. a sprite), that reference couldn't be found (it's surprising how this bug couldn't be detected for so long). Fixed! 2021-12-19 19:04:34 +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 7b3b7957d8 Updated Known Limitations 2021-12-04 17:05:28 +03:00
yasirkula d5942a66c4 "Open X in prefab mode to select and edit Y" messages aren't spammed 2021-12-04 17:04:19 +03:00
yasirkula dcc5d5e0ad It's now possible to only highlight the clicked search results instead of actually selecting them via the window's context menu 2021-12-04 17:03:45 +03:00
yasirkula 8872a0fcc5 Exceptions encountered during search are logged using Debug.LogException so that stacktrace line numbers are clickable 2021-12-04 17:01:43 +03:00
yasirkula 8c04db9b25 Fixed multi-selection bug in search results 2021-12-04 17:00:21 +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') v2.0.0 2021-11-28 19:42:17 +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
Süleyman Yasir KULA 499e4bc43e Added Discord link 2021-10-28 20:09:31 +03:00
yasirkula 93c955993a Previous commit applies to 'Refresh' buttons, as well v1.9.10 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) v1.9.8 2021-09-26 12:33:44 +03:00
yasirkula 45b0f6f1d9 Version 1.9.7 v1.9.7 2021-07-25 18:00:33 +03:00
yasirkula c599ea6273 Duplicate asset usage descriptions in search results page are now omitted (i.e. "[Usage information][Usage information] Some asset" becomes "[Usage information] Some asset") 2021-07-25 17:49:30 +03:00
yasirkula 7ba33e2d4e When an asset in "Find references of:" list is right clicked, Refresh button appears which refreshes that asset's sub-assets list 2021-07-25 17:39:12 +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 133b8b1227 Fixed small text issue on 2019.1 and 2019.2 (some devices might not have been affected by this issue) v1.9.6 2021-07-06 17:49:31 +03:00
yasirkula 1db9dbf9b0 Fixed issues with mysterious empty dependencies returned by AssetDatabase.GetDependencies v1.9.5 2021-06-09 12:35:25 +03:00
yasirkula a6b0f5ae92 Unity 2020 support v1.9.4 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 v1.9.3 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 v1.9.2 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
v1.9.1
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