Search Issue Tracker
Fixed
Fixed in 6000.5.0b2, 6000.6.0a2
Votes
0
Found in
6000.5.0a8
6000.6.0a1
Issue ID
UUM-136685
Regression
Yes
NullReferenceException is thrown if the Search window is presenting results during a domain reload
Steps to reproduce:
- Open the attached project
- Observe that an open Search window is presenting results for the project's assets
- In the project window, create a new Mono Behaviour script
- Observe that search results are updated, and no errors are thrown
- Delete the created Mono Behaviour script
- Observe the console window
Actual results: NullReferenceException is thrown
Expected results: No errors or warnings are thrown
Reproducible with versions: 6000.5.0a7, 6000.5.0a8
Not reproducible with versions: 2022.3.74f1, 6000.0.70f1, 6000.3.11f1, 6000.4.0b12, 6000.5.0a6
Tested on (OS): Windows 11, macOS 26.3.1
Notes:
- Also reproducible by adding/removing any package using a Package Manager
Full error message:
{quote}NullReferenceException: Object reference not set to an instance of an object
UnityEditor.Search.SearchWindow.Update () (at /Users/bokken/build/output/unity/unity/Modules/QuickSearch/Editor/UITK/SearchWindow.cs:167)
UnityEditor.HostView.SendUpdate () (at /Users/bokken/build/output/unity/unity/Editor/Mono/HostView.cs:712)
UnityEditor.EditorApplication.Internal_CallUpdateFunctions () (at /Users/bokken/build/output/unity/unity/Editor/Mono/EditorApplication.cs:403)
{quote}
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Resolution Note:
Fixed in 6000.6.0a2
Resolution Note (fix version 6000.6.0a2):
Fixed in 6000.6.0a2
Resolution Note (fix version 6000.5.0b2):
Fixed in 6000.5.0b2