Search Issue Tracker
Fixed in 10.3.X
Votes
0
Found in [Package]
10.2.1, 10.2.0.
Issue ID
1296931
Regression
Yes
[HDRP] NullReferenceException errors are thrown on exiting from the Play mode when Look Dev window is opened
NullReferenceException errors are thrown on exiting from the Play mode when Look Dev window is opened.
Steps to repro:
1. Create a new HDRP project.
2. Windows > Render Pipeline > Look Dev > Dock the Window.
3. Environment > Library > Click on New button.
4. Enter the Play mode & Exit the Play mode.
5. Undock the window and Repeat Steps 4.
Actual Result:
NullReferenceException errors are thrown in the console.
Expected Result:
No error in the console.
Reproducible in:
2021.1.0a9, 2021.1.0a8, 2020.2.0f1 with Package version 10.2.1.
Working Fine in:
2021.1.0a7, 2020.2.0b14 with Package version 10.2.1, 10.2.0.
Note: Unable to test on Mac due to this issue https://fogbugz.unity3d.com/f/cases/1294756/
Environment:
Occurring only on Windows.
Stack trace:
NullReferenceException: Object reference not set to an instance of an object
UnityEditor.Rendering.LookDev.Stage.OnBeginRendering (UnityEngine.Rendering.LookDev.IDataProvider dataProvider) (at Library/PackageCache/com.unity.render-pipelines.core@10.2.1/Editor/LookDev/Stage.cs:247)
UnityEditor.Rendering.LookDev.Renderer.BeginRendering (UnityEditor.Rendering.LookDev.RenderingData data, UnityEngine.Rendering.LookDev.IDataProvider dataProvider) (at Library/PackageCache/com.unity.render-pipelines.core@10.2.1/Editor/LookDev/LookDevRenderer.cs:55)
UnityEditor.Rendering.LookDev.Compositer.AcquireDataForView (UnityEditor.Rendering.LookDev.ViewIndex index, UnityEngine.Rect viewport) (at Library/PackageCache/com.unity.render-pipelines.core@10.2.1/Editor/LookDev/Compositor.cs:243)
UnityEditor.Rendering.LookDev.Compositer.RenderSingleAndOutput (UnityEditor.Rendering.LookDev.ViewIndex index) (at Library/PackageCache/com.unity.render-pipelines.core@10.2.1/Editor/LookDev/Compositor.cs:265)
UnityEditor.Rendering.LookDev.Compositer.Render () (at Library/PackageCache/com.unity.render-pipelines.core@10.2.1/Editor/LookDev/Compositor.cs:206)
UnityEditor.Rendering.LookDev.DisplayWindow.OnGUI () (at Library/PackageCache/com.unity.render-pipelines.core@10.2.1/Editor/LookDev/DisplayWindow.cs:678)
UnityEditor.HostView.InvokeOnGUI (UnityEngine.Rect onGUIPosition, UnityEngine.Rect viewRect) (at <a19e86c7bf354115a4c6a5953c0575cb>:0)
UnityEditor.DockArea.DrawView (UnityEngine.Rect viewRect, UnityEngine.Rect dockAreaRect) (at <a19e86c7bf354115a4c6a5953c0575cb>:0)
UnityEditor.DockArea.OldOnGUI () (at <a19e86c7bf354115a4c6a5953c0575cb>:0)
UnityEngine.UIElements.IMGUIContainer.DoOnGUI (UnityEngine.Event evt, UnityEngine.Matrix4x4 parentTransform, UnityEngine.Rect clippingRect, System.Boolean isComputingLayout, UnityEngine.Rect layoutSize, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <b82edc26c1654793bdaefb66b6a2a38a>:0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)
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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
Resolution Note (fix version 10.3):
Fixed in Package version 11.0.0.