Search Issue Tracker

By Design

Votes

1

Found in

2017.3.1p4

Issue ID

1024332

Regression

No

Draw call cannot be batched when objects are affected by different reflection probes

Graphics - General

-

Reproduction steps:
1. Download user's project and open in Unity
2. Open "test" scene
3. Open Window -> Debug -> Frame Debug
4. Select Enable in Frame Debug
5. Go to Camera.Render -> Drawing -> RenderFowardOpaque.Render -> RenderForward.RenderLoopJob
6. Select "Draw Mesh InsideRProbeCube" and "Draw Mesh OutsideRProbeCube"

Expected: no issues with batching
Actual: "Draw Mesh OutsideRProbeCube" has an issue message

Reproduced on: 2017.1.3p3; 2017.2.2p3; 2017.4.1f1; 2018.1.0f1; 2018.2.0b1

Note:
Issue message:
"Why this draw call can't be batched with the previous one ("Draw Mesh InsideRProbeCube")
Objects are affected by different reflection probes."
Reflection Probes are only set to Simple in Mesh Renderer in "Draw Mesh InsideRProbeCube" and "Draw Mesh OutsideRProbeCube".

Workaround: temporary set the camera to forward rendering, and set the reflection probe combo box to OFF for those two objects. Then you can turn deferred rendering back.

Comments (1)

  1. BlindFhein

    Apr 16, 2018 11:47

    Having the same problem, objects with Mesh Renderer "Reflection Probes" set to "Simple" do not get batched draw calls, but should.
    Or is there a option to specify the used "Reflection Probe" without also using the light probes of that reflection probe (which "Anchor Override" does)?

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.