Search Issue Tracker

Not Reproducible



Found in [Package]

6.8, 6.7.1, 6.5.3

Issue ID




[HDRP] Render Pipeline reference is lost when older package scene is opened

Package: Scriptable Render Pipeline HD


Steps to reproduce:
1. Open attached project
2. Make sure that HDRP Render Pipeline asset is added to Project Settings->Graphics
2. Add 04_Decals scene to the project
3. Open 04_Decals scene
4. Observe that Scriptable Render Pipeline asset reference is lost and assertion errors are thrown:
AssertionException: Assertion failure. Value was Null
Expected: Value was not Null
UnityEngine.Assertions.Assert.Fail (System.String message, System.String userMessage) (at C:/buildslave/unity/build/Runtime/Export/Assertions/Assert/AssertBase.cs:29)
UnityEngine.Assertions.Assert.IsNotNull (UnityEngine.Object value, System.String message) (at C:/buildslave/unity/build/Runtime/Export/Assertions/Assert/AssertNull.cs:58)

Expected result: scene with decals in older HDRP package should not cause hdrp errors breaking the pipeline

Reproduced in: 2020.1.0a7, 2019.3.0a6, 2019.2.0b5
Packages reproduced in: 7.1.2, 6.8, 6.7.1, 6.5.3

Comments (1)

  1. 2c7015d6c01067fd5e6171a0f987f83e?d=mm


    Nov 20, 2019 20:50

    I got this error from source control - I added a new HDRP Render Pipeline asset in one branch, then switched branches and all my materials turned pink. It was because I gitignore'd whatever file holds the reference to the pipeline asset.
    That's my fault, not a bug, but putting that here in case others stumble here like I did.

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.