Search Issue Tracker
Won't Fix
Votes
0
Found in
6000.0.54f1
6000.1.15f1
6000.2.0f1
6000.3.0a4
Issue ID
UUM-113386
Regression
No
“Look Dev” window restored from previous HDRP project causes errors in newly created URP project
Steps to reproduce:
1. Create new Unity project using High Definition 3D Template
2. Open “Look Dev” window (Window > Rendering > Look Dev)
3. Do not close the window
4. Close project (Save before closing)
5. Create new Unity project using Universal 3D Template
6. Observe the Console window
Actual results: Errors are thrown in the Console window
Expected results: Only show the unsupported error in the Console window
Reproducible with versions: 6000.0.54f1, 6000.1.15f1, 6000.2.0f1, 6000.3.0a4
Can’t test with versions: 2022.3.65f1 (Look dev window not available)
Tested on (OS): macOS Silicon, Sequoia 15.5 (M1)
Errors:
{code:java}
NullReferenceException: Object reference not set to an instance of an object
UnityEditor.Rendering.LookDev.DisplayWindow.OnFocus () (at ./Library/PackageCache/com.unity.render-pipelines.core@3e77bf1cfd02/Editor/LookDev/DisplayWindow.EnvironmentLibrarySidePanel.cs:458)
UnityEditor.HostView.OnFocus () (at /Users/bokken/build/output/unity/unity/Editor/Mono/HostView.cs:330)
UnityEditor.EditorApplication:Internal_CallUpdateFunctions() (at /Users/bokken/build/output/unity/unity/Editor/Mono/EditorApplication.cs:392)
{code}
{code:java}
NullReferenceException: Object reference not set to an instance of an object
UnityEditor.Rendering.LookDev.DisplayWindow.Update () (at ./Library/PackageCache/com.unity.render-pipelines.core@3e77bf1cfd02/Editor/LookDev/DisplayWindow.cs:673)
UnityEditor.HostView.SendUpdate () (at /Users/bokken/build/output/unity/unity/Editor/Mono/HostView.cs:708)
UnityEditor.EditorApplication.Internal_CallUpdateFunctions () (at /Users/bokken/build/output/unity/unity/Editor/Mono/EditorApplication.cs:392){code}
{code:java}
LookDev is not supported by this Scriptable Render Pipeline: PC_RPAsset (UnityEngine.Rendering.Universal.UniversalRenderPipelineAsset)
UnityEditor.EditorApplication:Internal_CallUpdateFunctions () (at /Users/bokken/build/output/unity/unity/Editor/Mono/EditorApplication.cs:392){code}
{code:java}
NullReferenceException: Object reference not set to an instance of an object
UnityEditor.Rendering.LookDev.LookDev.ApplyContextChange (UnityEditor.Rendering.LookDev.ViewIndex index) (at ./Library/PackageCache/com.unity.render-pipelines.core@3e77bf1cfd02/Editor/LookDev/LookDev.cs:275)
UnityEditor.Rendering.LookDev.LookDev.ReloadStage (System.Boolean reloadWithTemporaryID) (at ./Library/PackageCache/com.unity.render-pipelines.core@3e77bf1cfd02/Editor/LookDev/LookDev.cs:268)
UnityEditor.Rendering.LookDev.LookDev.get_currentContext () (at ./Library/PackageCache/com.unity.render-pipelines.core@3e77bf1cfd02/Editor/LookDev/LookDev.cs:45)
UnityEditor.Rendering.LookDev.DisplayWindow.get_layout () (at ./Library/PackageCache/com.unity.render-pipelines.core@3e77bf1cfd02/Editor/LookDev/DisplayWindow.cs:133)
UnityEditor.Rendering.LookDev.DisplayWindow.get_viewLayout () (at ./Library/PackageCache/com.unity.render-pipelines.core@3e77bf1cfd02/Editor/LookDev/DisplayWindow.cs:137)
UnityEditor.Rendering.LookDev.DisplayWindow.CreateToolbar () (at ./Library/PackageCache/com.unity.render-pipelines.core@3e77bf1cfd02/Editor/LookDev/DisplayWindow.cs:312)
UnityEditor.Rendering.LookDev.DisplayWindow.CreateGUI () (at ./Library/PackageCache/com.unity.render-pipelines.core@3e77bf1cfd02/Editor/LookDev/DisplayWindow.cs:272)
System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <1e17d9e30a42433c9e50f8dea8f7ce8b>:0)
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <1e17d9e30a42433c9e50f8dea8f7ce8b>:0)
System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at <1e17d9e30a42433c9e50f8dea8f7ce8b>:0)
UnityEditor.UIElements.DefaultEditorWindowBackend.Invoke (System.String methodName) (at /Users/bokken/build/output/unity/unity/Modules/UIElementsEditor/WindowBackends/DefaultEditorWindowBackend.cs:383)
UnityEditor.RetainedMode:UpdateSchedulers() (at /Users/bokken/build/output/unity/unity/Modules/UIElementsEditor/RetainedMode.cs:46){code}
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
- Reflection Probe “Probe Scene Editing Mode:” text is barely visible
- [HDRP] Game view doesn’t refresh after changing Camera Background Type until mouse moves over it
- Some Shaders appear twice in Material Shader selection menu
- Editor freezes with a StackOverflowException when certain asset types are assigned to a managed component in a SubScene via AddComponentObject
- Text Script Importer Reference button links to a Missing Page when clicking the Reference Button in the Inspector
Resolution Note:
Thank you for reporting a bug to Unity.
We have reviewed the issue carefully, and in this case, the team is unable to prioritize fixing this bug. There are a number of reasons we make this decision, including the impact and severity of the issue across our user and customer base, and the possibility that future plans may solve the problem in a different way, or that a workaround for the bug may be available.
Today we will be closing this case. Thank you again for taking the time to report this issue, and please let us know if there is anything else that changes the impact or severity of this issue.