Search Issue Tracker

Fixed in 7.1.8

Votes

0

Found in [Package]

7.1.1

Issue ID

1194804

Regression

No

Custom Renderer Feature data is not saved when 2 renderer features are added to the Renderer Data asset after deselecting

Package: Scriptable Render Pipeline Universal

-

To reproduce:
1. Create a new Universal RP template;
2. Select Forward Renderer (Assets > Settings > Forward Renderer);
3. In the inspector window, add 2 "Render Objects" features to the Renderer Features list (by pressing "+");
4. In the first renderer feature, change any setting (for example change the Stencil override from false to true);
5. Deselect the renderer (press anywhere outside Inspector) and re-select it;
6. Check the setting you just changed.

Expected result: the setting in the first renderer feature is set
Actual result: the renderer feature data was actually not saved, setting was set back to its previous value

Reproduced with 2019.3.0b9 + URP 7.1.1, 7.1.2, 8.0.0 (SRP Master)

Comments (5)

  1. Prog_Meisters

    Nov 05, 2020 10:34

    Issue is not fixed. Experiencing the same thing in Unity 2019.4.13f1 URP 7.3.1

  2. taynaTinoco

    Jul 27, 2020 16:23

    I'm having this problem on unity 2019.4.4f1

  3. sergiomlp

    Jun 15, 2020 01:35

    Hi There, I've the same issue with the beta of 2020... I mean it's a beta so no problem; But I find a simple "solution"...

    Go through the file, edit on note pad or visual studio; the last 37 code lines are about the first Render feature, so u have to read those lines to find the one u want to change; the number are about the options.... so for stencil it could be as easy as:

    --- !u!114 &73119301545223249
    MonoBehaviour:
    m_ObjectHideFlags: 0
    m_CorrespondingSourceObject: {fileID: 0}
    m_PrefabInstance: {fileID: 0}
    m_PrefabAsset: {fileID: 0}
    m_GameObject: {fileID: 0}
    m_Enabled: 1
    m_EditorHideFlags: 0
    m_Script: {fileID: 11500000, guid: 6b3d386ba5cd94485973aee1479b272e, type: 3}
    m_Name: SeeThrough
    m_EditorClassIdentifier:
    m_Active: 1
    settings:
    passTag: SeeThrough
    Event: 250
    filterSettings:
    RenderQueueType: 0
    LayerMask:
    serializedVersion: 2
    m_Bits: 256
    PassNames: []
    overrideMaterial: {fileID: 0}
    overrideMaterialPassIndex: 0
    overrideDepthState: 0
    depthCompareFunction: 4
    enableWrite: 1
    stencilSettings:
    overrideStencilState: 1
    stencilReference: 1
    stencilCompareFunction: 6
    passOperation: 0
    failOperation: 0
    zFailOperation: 0
    cameraSettings:
    overrideCamera: 0
    restoreCamera: 1
    offset: {x: 0, y: 0, z: 0, w: 0}
    cameraFieldOfView: 60
    --- !u!114 &1205221695104725743
    MonoBehaviour:
    m_ObjectHideFlags: 0
    m_CorrespondingSourceObject: {fileID: 0}
    m_PrefabInstance: {fileID: 0}
    m_PrefabAsset: {fileID: 0}
    m_GameObject: {fileID: 0}
    m_Enabled: 1
    m_EditorHideFlags: 0
    m_Script: {fileID: 11500000, guid: 6b3d386ba5cd94485973aee1479b272e, type: 3}
    m_Name: Mask
    m_EditorClassIdentifier:
    m_Active: 1
    settings:
    passTag: Mask
    Event: 250
    filterSettings:
    RenderQueueType: 0
    LayerMask:
    serializedVersion: 2
    m_Bits: 512
    PassNames: []
    overrideMaterial: {fileID: 0}
    overrideMaterialPassIndex: 0
    overrideDepthState: 0
    depthCompareFunction: 4
    enableWrite: 1
    stencilSettings:
    overrideStencilState: 1
    stencilReference: 1
    stencilCompareFunction: 8
    passOperation: 2
    failOperation: 0
    zFailOperation: 0
    cameraSettings:
    overrideCamera: 0
    restoreCamera: 1
    offset: {x: 0, y: 0, z: 0, w: 0}
    cameraFieldOfView: 60

  4. Master_Bernardo

    Jun 02, 2020 17:12

    Hello there, I am still having this problem too using Unity 2019.3.12f1 and Universal RP 7.3.1. It started when I tried to add a 3rd renderer feature and tried to tick its "Stencil" checkbox.

    Gladly I have found a workaround. Changing a Renderer Feature setting inside the Custom Renderer inspector does not save, but if you click the small play button on the right of the Custom Renderer in the project window, and select one of your Renderer Features from the expanded options there, you will have an inspector only for this Feature. Changes applied there will save.

  5. maulikhack

    May 28, 2020 05:53

    I am using 2019.3.13f.1 and Universal RP 7.3.1 facing the same issue.

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.