Search Issue Tracker
Fixed in 7.1.1
Votes
3
Found in [Package]
0.1.21-preview
Issue ID
1122420
Regression
No
[LWRP] "GL.LINES" and "Debug.DrawLine()" not rendering in Game view when "Scriptable Render Pipeline Settings" is set to LWRP
Reproduction steps:
1. Open "Test.zip" project
2. Enter Play mode
3. Notice that in the Scene view there is a green cube and a blue triangle and in the Game view there is a green cube and a red triangle renderer
4. "Project Settings" -> "Graphics" -> "Scriptable Render Pipeline Settings" -> "LightweightAsset"
5. Enter Play mode
6. Notice that in the Scene view there is a green cube and a blue triangle and in the Game view there is nothing rendered
Expected Result: "GL.LINES" and "Debug.DrawLine()" render in Game view with "Scriptable Render Pipeline Settings" set to LWRP
Actual Result: "GL.LINES" and "Debug.DrawLine()" don't render in Game view with "Scriptable Render Pipeline Settings" set to LWRP
Reproduced with: 2019.2.0a3, 2019.1.0b2, 2018.3.4f1
Did not reproduce on: 2017.4.19f1
Note:
In 2019.1 and up at Step 6, in the Scene view, the green cube is not visible and the blue triangle is barely visible
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
- ScrollView speed is slower when entering Play mode
- UI Builder elements disappear and "Semantic - Unknown template name" error appears when changes to "Template" parameter are saved
- Renderers outside Light Probe hull use incorrect Ambient Probe values when "Renderer Light Probe Selection" is set to "Use Ambient Probe" and "Light Probes" on Mesh is set to "Blend Probes"
- ArgumentNullException error occurs when selecting a Camera in the Hierarchy with the Scene view open
- Clicking 'Open Editor Log' through the Console fails to open redirected Logs when relative Log files exist outside of the Project root
Resolution Note (fix version 7.1.1):
Debug.DrawLine work properly in LWRP.
GL.Lines can be used in OnRenderObjectCallback.