Search Issue Tracker

Fixed in 7.2.0

Votes

0

Found in [Package]

7.1.5

Issue ID

1200316

Regression

Yes

[HDRP] NullReferenceException is thrown when Loading old HDRendringPipelineAsset from "HD Render Pipeline Wizard

Package: Scriptable Render Pipeline HD

-

On loading Old HDRendringPipelineAsset from "HD Render Pipeline Wizard" throws NullReferenceException, refer the attached video

Steps to repro:
1. Create a new project with HDRP Template
2. Upgrade High Definition RP Package to 7.1.5
3. Edit > Project Settings > Graphics > Scriptable Render Pipeline Settings > None
4. Window > Render Pipeline > HD Render Pipeline Wizard > Fix All > Click
5. Create or Load HDRenderPipelineAsset > Load One

Actual Result:
NullReferenceException is thrown on clicking "Load One" button from Create or Load HDRenderPipelineAsset

Expected Result:
Old HDRenderPipelineAsset selected without any exceptions

Reproducible on:
2020.1.0a14, 2019.3.0b12

Note: Unable to checked on 7.1.2 because this package version was broken

Package Found version: 7.1.5
Package Working fine version: 7.1.1

Environment:
Windows 10 & macOS 10.14

Stack trace:
NullReferenceException: Object reference not set to an instance of an object
UnityEditor.Rendering.HighDefinition.HDWizard.FixHdrpAssetRuntimeResources () (at Library/PackageCache/com.unity.render-pipelines.high-definition@7.1.5/Editor/DefaultScene/HDWizard.Configuration.cs:242)
UnityEditor.Rendering.HighDefinition.HDWizard.<FixHdrpAsset>b__15_1 () (at Library/PackageCache/com.unity.render-pipelines.high-definition@7.1.5/Editor/DefaultScene/HDWizard.Configuration.cs:181)
UnityEditor.Rendering.HighDefinition.HDWizard+QueuedLauncher.Run () (at Library/PackageCache/com.unity.render-pipelines.high-definition@7.1.5/Editor/DefaultScene/HDWizard.Configuration.cs:128)
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.
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)
System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at <437ba245d8404784b9fbab9b439ac908>:0)
System.Delegate.DynamicInvokeImpl (System.Object[] args) (at <437ba245d8404784b9fbab9b439ac908>:0)
System.MulticastDelegate.DynamicInvokeImpl (System.Object[] args) (at <437ba245d8404784b9fbab9b439ac908>:0)
System.Delegate.DynamicInvoke (System.Object[] args) (at <437ba245d8404784b9fbab9b439ac908>:0)
UnityEditor.EditorApplication.Internal_CallUpdateFunctions () (at <cdd38c6cb7c446c6ac90945c7521da61>: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.