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
- Crash on GizmoDrawingPhysics2D::DrawCompositeCollider2DGizmo when opening a Scene that has corrupted GameObjects with Tilemap Components
- Scrolling vertically and horizontally is very fast when in Play Mode and RuntimeInputBackend is set to UIToolkitInputBackendOption.Default
- Crash on MemoryProfiler::UnregisterAllocation when initializing entities and leaving Play Mode with Occlusion Culling enabled
- Crash on mdb_page_alloc when opening a project that was running while the PC shut down
- macOS Player freeze when using RunInBackground and Command+Tabbing to and from the application
Resolution Note:
Actually, it was my fault. The asset was saved on a newer HDRP version and we don't support downgrading.