Search Issue Tracker
Fixed in 2019.1.X
Votes
0
Found in
2018.2.3f1
Issue ID
1071108
Regression
No
GenerateNodeCode calls in ShaderGraph use GenerationMode.ForReals when building preview shader for Sub Graph Nodes
TestNode.cs contains a node with different code paths for Real and Preview generation modes.
"Working Shader graph" - Contains the graph that has a working preview node, where the TestNode is inlined in the graph
"Sub Graph" - A working sub graph that contains TestNode. Works fine to open as it is.
"Broken Shader Graph" - A graph that has a reference to Sub Graph. This is where the preview is broken and produces errors.
To reproduce:
1. Download attached project
2. Open "Broken Shader Graph" asset in project window
3. Notice that preview is broken and produces errors
Reproducible: 2018.3.0a9, 2018.2.4f1
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- RenderPipelineManager.activeRenderPipelineTypeChanged does not detect changes when changing the Render Pipeline Asset outside of Play Mode
- The Scene View becomes gray and "NullReferenceException" errors are thrown when attaching the Unity Editor process to RenderDoc
- Memory usage rapidly rises when changing colors in the color wheel
- Physically Based Sky's Horizon and Zenith Tint Color Selection Bars don't have immediate access to color pickers
- EmptyAdditionalLightShadowmapTexture leaks from memory when URP quality level is changed using QualitySettings.SetQualityLevel
Add comment