Search Issue Tracker
Fixed in 7.4.0
Votes
14
Found in [Package]
2019.2
2019.3.0f1
2020.1
Issue ID
1204376
Regression
No
[URP] Prefab preview is blank when a Custom Forward Renderer Data and Default Layer Mask is Mixed are used
How to reproduce:
1. Open the attached '1204376-Mesh-preview-invisible.zip' project
2. Select 'Cube' Prefab in the Project Browser
3. Notice that 'Cube' prefab is visible in the Preview of the Inspector
4. Deselect UI from Default Layer Mask in CustomForwardRendererData
5. Select the 'Cube' Prefab in the Project Browser
Expected results: Prefab is visible in the preview
Actual results: Prefab is not visible in the preview
Reproducible with: 2019.2.16f1 (6.9.0, 6.9.2), 2019.3.0f3 (7.1.6), 2020.1.0a16 (7.1.1, 7.1.5, 7.1.6)
Could not test in 2018.4 streams and lower as Custom Forward Renderers was not implemented yet
Notes:
- Reproducible on macOS, Windows
- Video of reproduction attached in Edit
Comments (8)
-
Aggressor
Aug 22, 2020 20:50
I still have this in 2019.4.8f1
-
BilginSahin
May 31, 2020 16:39
Still present in 2019.3.15
-
Sakiskid
May 20, 2020 18:28
still present in 2019.3.8f1 with custom forward renderer. Switching back to default renderer and reimporting worked for me, though I'm not sure for how long.
-
ihgyug
May 19, 2020 13:51
2019.3.13 and the bug is still there
-
spaceemotion
Apr 13, 2020 11:00
Also there in 2019.3.9f1
-
Bip901
Apr 12, 2020 15:34
Reproducible in 2019.3.4f1 as well.
Temporary workaround: change the default layermask to "Everything", right click in the project window near the prefabs, click "reimport", then change the default layermask back to what it was.Pros: The previews will be back
Cons: Every time you edit a prefab its preview will disappear again.
-
vectorized-runner
Jan 13, 2020 12:29
Here's my temporary solution, I use Unity's default pipeline asset in editor and change it at runtime:
public class SetRenderPipelineAsset : MonoBehaviour
{
public RenderPipelineAsset RenderPipelineAsset;
void Start()
{
QualitySettings.renderPipeline = RenderPipelineAsset;
}
} -
online_frog
Dec 13, 2019 09:44
As a temporary hack I made a custom quality level pointing to a URP asset with a forward renderer w/o a mixed layer mask on it, and switch to it only while in the editor.
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
- Shader Graph Create Node window cannot be resized or moved after maximizing and reopening it
- [Usability] Cannot toggle Scene checkboxes using TAB/Enter in Build Profiles’ > Open Scene List
- Installing HDRP package throws Shader Graph validation warning about Exposure node when installed in Universal 3D Template
- ShaderGraph “Create Node” menu’s resize icon overlaps with the menu's scrollbar
- ShaderGraph “Create Node” menu’s Search bar's typing cursor is barely visible since it's black on a dark background
Resolution Note (fix version 7.4.0):
Fixed in Universal Render Pipeline 7.4.1. Available in 2019.4.0f1 and above