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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Resolution Note (fix version 2022.2):
Fix for this issue is available on Unity 2022.2.0a6 and above