Search Issue Tracker

By Design

Votes

0

Found in

Issue ID

1426667

Regression

No

[HDRP] Null error during DiffusionProfile migration

HD RP

-

To reproduce simply import the attached asset. There will be an error in the console.

Unity version: 2022.2.0a11.1682
HDRP: trunk of 2022 05 10

Full text:
ArgumentNullException: Value cannot be null.
Parameter name: target
UnityEngine.Rendering.HighDefinition.DiffusionProfileSettings.TryToUpgrade () (at D:/Git/unity/Packages/com.unity.render-pipelines.high-definition/Runtime/Material/DiffusionProfile/DiffusionProfileSettings.Migration.cs:222)
UnityEditor.EditorApplication.Internal_CallDelayFunctions () (at <462367b32acb49e3b5d1e4b7be4db88f>:0)

  1. Resolution Note:

    Actually, it was my fault. The asset was saved on a newer HDRP version and we don't support downgrading.

Add comment

Log in to post comment