Search Issue Tracker
Active
Under Consideration for 6000.4.X
Votes
0
Found in
6000.4.0b4
Issue ID
UUM-131986
Regression
Yes
Scan button is not disabled in Play Mode and NullReferenceExceptions are logged when Scanning in the Render Pipeline Converter while in Play Mode
Steps to reproduce:
- Create a new URP Project
- Open the RPC (Window > Rendering > Render Pipeline Converter)
- Enable all Converter checkboxes
- Enter Play Mode
- Click the "Scan" button in the RPC Window and observe the Console
- Close the RPC Window and Exit Play Mode
- Observe the Console again
Actual results: Error is logged when Scanning: "NullReferenceException: Object reference not set to an instance of an object
UnityEditor.Search.SearchDatabase.IncrementLoadBytes (UnityEditor.Search.SearchTask`1[T] loadTask, System.Collections.Generic.HashSet`1[T] deletedAssets) (at <4739927896a24b09bce429c4f942903c>:0)
UnityEditor.Search.SearchDatabase+<>c_{_}DisplayClass107_0.<IncrementalLoad>b{_}1 () (at <4739927896a24b09bce429c4f942903c>:0)
UnityEditor.Search.SearchTask`1+<>c{_}DisplayClass77_0[T].<DispatchWaitForThread>b{_}_0 () (at <4739927896a24b09bce429c4f942903c>:0)
UnityEditor.Search.Dispatcher+Task.Invoke () (at <4739927896a24b09bce429c4f942903c>:0)
UnityEditor.Search.Dispatcher.Process (UnityEditor.Search.Dispatcher+Task& task) (at <4739927896a24b09bce429c4f942903c>:0)
UnityEditor.Search.Dispatcher.Update () (at <4739927896a24b09bce429c4f942903c>:0)
UnityEditor.EditorApplication.Internal_InvokeTickEvents () (at <c44e7a60e9ad492b88da99c20b4d1cdc>:0)"
Errors logged when exiting Play Mode:
"MissingReferenceException: The object of type 'UnityEditor.Rendering.Converter.RenderPipelineConvertersEditor' has been destroyed but you are still trying to access it.
Your script should either check if it is null or you should not destroy the object. Parameter name: target
UnityEngine.Object+MarshalledUnityObject.TryThrowEditorNullExceptionObject (UnityEngine.Object unityObj, System.String parameterName) (at <7e11edc47b2d475c8077267b2d336806>:0)"
Converter initialization hangs
Expected results: No Errors are logged when Scanning the Project for Assets to convert in Play Mode, RPC is disabled in Play Mode
Reproducible with versions: 6000.4.0b1, 6000.4.0b4
Not reproducible with versions: 6000.0.65f1, 6000.2.15f1, 6000.3.4f1, 6000.4.0a5
Can't test with versions: 6000.5.0a4 (Scan button is disabled in Play Mode)
Tested on (OS): Windows 11
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Font character thickness does not adjust properly in UI Toolkit text when changing Bold Weight in Font Asset
- Multiple "[...] is inaccessible due to its protection level" errors are thrown when opening project with Unity Version Control installed
- Sorting icons are tiny and misaligned in Import Activity window
- The Undo system does not record HideFlags.HideInHierarchy changes
- [Linux] Bug Reporter window is in Light mode when the Editor theme is Dark mode
Add comment