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

2D

-

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)

  1. Resolution Note (fix version 2022.2):

    Fix for this issue is available on Unity 2022.2.0a6 and above

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.