Search Issue Tracker
Fixed in 2021.1.X
Votes
0
Found in
2021.1.0a3
2021.1.0a5
Issue ID
1290620
Regression
No
[Quick Search] Native Collection has not been disposed errors are thrown on searching in "Search asset store" window
Native Collection has not been disposed errors are thrown on searching in "Search asset store" window.
Steps to repro:
1. Create a new project.
2. Windows > Search > Asset Store.
3. Search any(material) keyword in the input field > Enter.
4. Wait for a few seconds.
Actual Result:
Native Collection has not been disposed errors in the console.
Expected Result:
No errors in the console.
Reproducible in:
2021.1.0a5, 2021.1.0a3.
Working Fine in:
2021.1.0a2.
Environment:
Occurring on Windows 10 & mac 10.15.
Stack trace:
A Native Collection has not been disposed, resulting in a memory leak. Allocated from:
Unity.Collections.NativeArray`1:.ctor(Byte[], Allocator)
UnityEngine.Networking.UploadHandlerRaw:.ctor(Byte[])
UnityEditor.Search.Providers.AssetStoreProvider:Post(String, String)
UnityEditor.Search.Providers.<SearchStore>d__34:MoveNext()
UnityEditor.Search.StackedEnumerator`1:MoveNext()
UnityEditor.Search.StackedEnumerator`1:NextItem(SearchItem&)
UnityEditor.Search.AsyncSearchSession:FetchSome(List`1, Int64)
UnityEditor.Search.SearchService:GetItems(SearchContext, SearchFlags)
UnityEditor.Search.QuickSearch:Refresh()
UnityEditor.Search.QuickSearch:DebouncedRefresh()
UnityEditor.EditorApplication:Internal_CallUpdateFunctions()
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 when D3D12RenderPass::SetupDeviceResources when opening FBX animation preview
- Serialization errors are thrown when "com.unity.render-pipelines.core" is added as a custom package and Graphics window is opened
- Character Joints unexpectedly rotate when a ragdoll is created using the Ragdoll Wizard
- Crash on GfxDeviceD3D11Base::DrawBuffersBatchMode when rendering the Scene view
- The shared EditorBuildSettings.asset file of symlinked projects is not updated when changing the order of the Scenes in Build Settings in one of the projects
Resolution Note (fix version 2021.1):
Fixed in 2021.1.0a9