Search Issue Tracker
By Design
Votes
0
Found in
2018.2.6f1
Issue ID
1076942
Regression
No
Dynamic Batch breaks after SpriteRender material's shader is changed back and forth during Playmode
To reproduce:
1. Open the user's attached project
2. Play the scene
3. Enable the Frame Debugger, there will be two Dynamic Batches
4. Unpause the Game, use the "Click me" button to change one of the sprite material's shader
5. Enable the Frame Debugger once again
6. Notice there is new additional new Draw Dynamic
Expected result: After changing the sprite material's shader to "Standard" and then back to the original "Sprites/Default" keeps the sprite dynamically batched
Actual result: After changing the sprite material's shader to "Standard" and then back to the original "Sprites/Default" the sprite gets its own dynamic draw call
Reproduced with: 2017.4.11f1, 2018.1.9f1, 2018.2.7f1, 2018.3.0b1
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
- Scene view has Y coordinates of the Screen Position node flipped when some of the URP features are disabled
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
- Files in the target folder are deleted without a proper warning when building an iOS project
Add comment