Search Issue Tracker
By Design
Votes
0
Found in
Issue ID
1426667
Regression
No
[HDRP] Null error during DiffusionProfile migration
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)
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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Resolution Note:
Actually, it was my fault. The asset was saved on a newer HDRP version and we don't support downgrading.