Search Issue Tracker

Fixed in 7.1.6

Votes

0

Found in [Package]

7.1.5, 7.1.1

Issue ID

1199542

Regression

Yes

[HDRP] Nullreference errors thrown on resizing Look Dev window

Package: Scriptable Render Pipeline HD

-

Nullreference errors thrown on resizing Look Dev window and window becomes blank white

Steps to Reproduce:
1. Open a new Project with HDRP Template
2. Open Window > Render Pipeline > Look Dev
3. Resize the Look Dev window horizontally

Expected Result:
Window resizes

Actual Result:
Nullreference errors thrown and Look dev window becomes blank white

Reproducible on: 2020.1.0a14, 2019.3.0b12, 2019.3.0b4

Working fine on: 2019.2.0f2, 2019.1.12f1, 2018.4.12f1

Reproducible on package Version: 7.1.5, 7.1.1
Working fine on package Version: 4.1.0 - preview, 6.9.0- preview

Environment: Windows 10 and Mac 10.14

Stack Trace:
NullReferenceException: Object reference not set to an instance of an object
UnityEditor.Rendering.LookDev.DisplayWindow.UnityEditor.Rendering.LookDev.IViewDisplayer.SetTexture (UnityEditor.Rendering.LookDev.ViewCompositionIndex index, UnityEngine.Texture texture) (at library/packagecache/com.unity.render-pipelines.core@7.1.5/editor/lookdev/displaywindow.cs:451)
UnityEditor.Rendering.LookDev.Compositer.RenderSingleAndOutput (UnityEditor.Rendering.LookDev.ViewIndex index) (at library/packagecache/com.unity.render-pipelines.core@7.1.5/editor/lookdev/compositor.cs:272)
UnityEditor.Rendering.LookDev.Compositer.Render () (at library/packagecache/com.unity.render-pipelines.core@7.1.5/editor/lookdev/compositor.cs:210)
UnityEditor.Rendering.LookDev.DisplayWindow.OnGUI () (at library/packagecache/com.unity.render-pipelines.core@7.1.5/editor/lookdev/displaywindow.cs:575)
System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <437ba245d8404784b9fbab9b439ac908>:0)
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
UnityEngine.UIElements.UIR.RenderChain.Render (UnityEngine.Rect viewport, UnityEngine.Matrix4x4 projection, UnityEngine.UIElements.PanelClearFlags clearFlags) (at <26a12ad1f5b8470c9f0626ae8224b9a6>:0)
UnityEngine.UIElements.UIRRepaintUpdater.DrawChain (UnityEngine.Rect viewport, UnityEngine.Matrix4x4 projection) (at <26a12ad1f5b8470c9f0626ae8224b9a6>:0)
UnityEngine.UIElements.UIRRepaintUpdater.Update () (at <26a12ad1f5b8470c9f0626ae8224b9a6>:0)
UnityEngine.UIElements.VisualTreeUpdater.UpdateVisualTree () (at <26a12ad1f5b8470c9f0626ae8224b9a6>:0)
UnityEngine.UIElements.Panel.Repaint (UnityEngine.Event e) (at <26a12ad1f5b8470c9f0626ae8224b9a6>:0)
UnityEngine.UIElements.UIElementsUtility.DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel panel) (at <26a12ad1f5b8470c9f0626ae8224b9a6>:0)
UnityEngine.UIElements.UIElementsUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at <26a12ad1f5b8470c9f0626ae8224b9a6>:0)
UnityEngine.GUIUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at <59837000ebf54955a9cb1d31caa86097>:0)

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.