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
- Crash on RenderBufferManager::Textures::GetTempBuffer when rendering a specific scene
- The Inspector header is incorrectly displayed when scripts are recompiled while a Scriptable Object instance is selected
- NullReferenceException is thrown when overriding the UxmlObjectReferences in template instances
- Shaders created with Shader Graph generate a large amount of shader variants and cause slow build times when using a baked lightmap in BIRP
- Shader Graph Matrix property produces random output values when SRP Batcher is enabled
Resolution Note (fix version 2022.2):
Fix for this issue is available on Unity 2022.2.0a6 and above