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
- Incorrect ScrollToItem behavior when called on a deattached ListView
- Zooming in/out in Scene View window on the display the zoom takes place in does not work
- Changing Game View resolution when there are 2 Game View Windows on 2 different displays makes the view stretched
- Maximising Game view window on one display makes black bars appear on another display
- Creating a 3D Object when using 2 monitors and 2 Game View Windows on different monitors the created 3D Object only appears on one of them
Resolution Note (fix version 2022.2):
Fix for this issue is available on Unity 2022.2.0a6 and above