Search Issue Tracker
Fixed
Fixed in 6000.2.0a6, 7000.0.0a20
Votes
0
Found in
6000.0.0b1
6000.1.0a1
7000.0.0a1
Issue ID
UUM-91490
Regression
No
onDisable not always called for SearchProvider
Bug logged from this discussion: [https://discussions.unity.com/t/custom-searchprovider-doesnt-call-ondisable-when-window-is-closed/1568687/8]
- There are no clear repro steps unfortunately or I wasn't able to find the proper pattern.
- Ensure you have a SearchPRovider with an onEnable and onDisable functors and that those functors print something when they are triggered
- Open the search window see that onEnable is called. Closed the search window and see that onDisable is called.
- It seems that if you add queryblocks, remove frocus from the searchfield (or the window?) and close it, sometimes onDisable is not called.
- It seems it happens more often when you add a block and close the window.
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
- Crash on MonoBehaviour::CallMethodIfAvailable when performing various actions
- Incorrect rotations on bones when importing FBX animations with a Humanoid Rig
- Render Graph Viewer “Pass List” section is flickering when resizing vertically and the Render Graph Viewer window is docked
- Render Graph Viewer Capture button plays the click animation but does not do anything when the Capture button is pressed with the “Enter” key on the keyboard
- UI Builder Scrollview is unable to scroll all the way down when the window is downsized vertically
Resolution Note (fix version 7000.0.0a20):
- Ensure Query builder properly dispose of the conjtext allocated in SearchExpression,Parse.
- Ensure Empty view doesn't parse expression if it isn't needed.