Search Issue Tracker
Fixed in 2022.2.X
Votes
0
Found in
2019.4
2020.3
2021.2
2022.1
2022.2
2022.2.0a1
Issue ID
1398241
Regression
No
[2D][Tilemap] Mask texture is not overridden when using SetPropertyBlock on Tilemap Renderer
Reproduction steps:
1. Open the user's attached project "Tilemap_MaskTex_test.zip"
2. Enter Play mode
3. Open Frame Debug window and click "Enable"
4. Make sure the Game view and Frame Debug window are both visible
5. Select the 2nd "Draw Dynamic" call
Expected result: _MaskTex set in Script overrides what is set in Sprite Editor, _MaskTex is "redTexture"
Actual result: _MaskTex set in Script does not override what is set in Sprite Editor, _MaskTex is "TilemapNormalMap_maskmap"
Reproducible with: 7.7.1 (2019.4.36f1), 11.0.0 (2020.3.27f1), 12.1.4 (2021.2.11f1), 13.1.5 (2022.1.0b6), 14.0.0 (2022.2.0a3)
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
- "Draw Additional Lights Shadowmap" calls increase when custom MaterialBlockProperty is used
- Crash on _platform_memmove when importing the "Dragon Crashers - URP 2D Sample Project" to a new 2D project
- "Shader is not supported on this GPU" warnings and and shaders are not loading when building the project for non-Chromium browsers
- [iOS][URP] The screen flickers and the "Execution of the command buffer was aborted due to an error during execution" error is thrown continuously
- Shortcut Manager shows empty conflict filter when resolving runtime conflicts involving different contexts
Resolution Note (fix version 2022.2):
Fix for this issue is available on Unity 2022.2.0a6 and above