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
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)
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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
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)?