Search Issue Tracker
By Design
Votes
0
Found in
6000.0.33f1
6000.1.0b1
Issue ID
UUM-91953
Regression
Yes
"Material '...' has _TexelSize / _ST texture properties which are not supported by 2D SRP Batcher...” warning is logged when the Shader is SRB Batcher compatible
Reproduction steps:
1. Open the attached “BugReportProject” project
2. Open the “Assets/Scenes/SampleScene” Scene
3. Enter Play Mode
4. Observe the Console
Expected result: No material warning is logged
Actual result: “Material ‘Character_Mat’ has _TexelSize / _ST texture properties which are not supported by 2D SRP Batcher. SRP batching will be disabled for 2D Renderers using this Material.” warning is logged
Reproducible with: 6000.0.19f1, 6000.0.33f1, 6000.1.0b1
Not reproducible with: 2021.3.47f1, 2022.3.55f1, 6000.0.18f1
Reproducible on: macOS Sequoia 15.1.1 (M1 Max), Windows 11
Not reproducible on: No other environments tested
Notes: If there are Burst errors in the Console, delete the Library folder and try the reproduction steps again
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
- Unity CIL Linker fails on Player build when persistent listeners have "<" and ">" in their XML attribute names
- ”Lighting data asset ‘LightingData’ is incompatible with the current Unity version…” warnings are thrown when saving Indoors (URP) and Outdoors (URP) Scenes as Scene Templates
- [iOS] The screen blinks when transitioning from custom to Unity splash screen
- [macOS] ”Ignoring depth surface load action as it is memoryless” warnings are thrown when taking Game View Snapshot
- UI Builder Inspector scrolls back up when changes on an expanded but not fully displayed Inspector tab are saved
Resolution Note:
By design, 2D SRP-Batcher does not support access of TexelSize or Offset property in Shader. It seems the shader Assets/BattleSdMatAndShader/URP Unlit Stencil/URP_Unlit_Gamma__OutlineStencil.shader is accessing TexelSize (_MainTex_ST) property. You can either update the shader to not use it [or] ignore the warning.