Search Issue Tracker
Fixed
Fixed in 1.0.0
Votes
0
Found in [Package]
1.0.0
Issue ID
BASST-359
Regression
No
User gets "NullReferenceException: Object reference not set to an instance of an object" error during the "Assistant" window close
Steps to reproduce:
- Create a new Unity project
- Make sure the AI Assistant package/s are installed
- Click the "AI" button, which is displayed in the toolbar next to the "Unity version Control" button
- Click the "Open Assistant" option
- Verify that the window opens
- Click the "Attach" button, which is displayed at the bottom of the window
- Enter "test" into the search field in the window and click "Enter"
- Close the window
- Observe the "Console" view
Actual results: User gets an error "NullReferenceException: Object reference not set to an instance of an object" in the Console window. A short video is added below in the "Attachment" area.
Expected results: No errors
Reproducible with versions: 1.0.0-pre.3 (6000.2.0b1)
Not reproducible with versions: -
Can’t test with versions: -
Tested on (OS): M1 Max - Sequoia 15.4.1
Notes: Full error
NullReferenceException: Object reference not set to an instance of an object
Unity.AI.Assistant.UI.Editor.Scripts.Utils.PopupTracker.Dispose () (at ./Library/PackageCache/com.unity.ai.assistant@95cd11640ec5/Editor/UI/Scripts/Utils/PopupTracker.cs:97)
Unity.AI.Assistant.UI.Editor.Scripts.Components.AssistantView.HideSelectionPopup () (at ./Library/PackageCache/com.unity.ai.assistant@95cd11640ec5/Editor/UI/Scripts/Components/AssistantView.cs:583)
Unity.AI.Assistant.UI.Editor.Scripts.AssistantWindow.OnLostFocus () (at ./Library/PackageCache/com.unity.ai.assistant@95cd11640ec5/Editor/UI/Scripts/AssistantWindow.cs:50)
UnityEditor.HostView.OnLostFocus () (at /Users/bokken/build/output/unity/unity/Editor/Mono/HostView.cs:355)
UnityEditor.DockArea.OnDestroy () (at /Users/bokken/build/output/unity/unity/Editor/Mono/GUI/DockArea.cs:141)
UnityEditor.ContainerWindow:RequestCloseSentByNativeCode() (at /Users/bokken/build/output/unity/unity/Editor/Mono/ContainerWindow.cs:443)
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
- “Open” button in Inspector does not function for certain Assets
- Channel remapping dropdown in the Terrain Layer does not open when clicked on the title
- The Editor freezes indefinitely when a large number of elements are entered in the Subgraphs or Categories lists
- Some Visual Effects package Assets links to documentation are not working
- Heatmap asset’s documentation button in the Inspector window leads to “Sorry... that page seems to be missing!” page when clicked
Resolution Note (fix version 1.0.0):
Issue has been fixed.