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.
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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
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)?