Search Issue Tracker
By Design
Votes
0
Found in
4.2.0f4
Issue ID
560105
Regression
No
[Dynamic Batching] Batching breaks vertex shader transformations
To reproduce:
1. Open project BatchingBug
2. Open scene Level_01
3. Enable dynamic batching
4. Enter play mode
5. Click on the game view. If only one number object is present or dynamic batching is disabled, everything looks fine, but when a few numbers are created the view changes. This shouldn't happen.
There is no good way around that since dynamic batching works by transforming vertices to world space on the CPU. But it does not know about any possible special things the vertex shader might be doing.
"DisableBatching" tag can be used in the subshader for these shaders
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Android][Mobile Notifications] The Player freezes or crashes when calling "AndroidNotificationCenter.GetNotificationChannel" every frame
- Tile Palette selected dropdown text does not update when palette is renamed
- ArgumentException thrown and reference to Template gets unset when opening UXML file after editing referenced Template in Play mode
- [iOS][WebGL] Player freezes when multiple properties of a VisualElement are changed at the same time
- Warning 'GetControlID at event ValidateCommand returns a controlID different from the one in the Layout event' is logged when undoing the deletion of an Edited Freeform 2D Light
Add comment