Search Issue Tracker
By Design
Votes
1
Found in
2021.3.28f1
2022.3.5f1
2023.1.4f1
2023.2.0a23
Issue ID
UUM-42429
Regression
No
Tilemap CellToWorld and WordToCell methods return 0 and layoutGrid is returned null when manipulated through Prefab
How to reproduce:
1. Open the "IN_45762" project
2. Press "Test" -> "TestTilemap"
3. Observe the Console
Expected result: "TestTilemap" has non-zero values and "gridLayout" is true
Actual result: "TestTilemap" values are zero and "gridLayout" is false
Reproducible with: 2021.3.28f1, 2022.3.5f1, 2023.1.4f1, 2023.2.0a23
Reproducible on: Windows 10 Pro
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
- [VFX] Custom HLSL with 'int' parameter, without the 'in/out/inout' access modifier is not supported
- [Windows] Lens Flare doesn't work in the Lens Flare Showroom URP Sample Scene
- Crash on ujob_execute_job while using OverlapBoxCommand when collisions are more than maxHits
- The validity of the multiple handles can behave differently based on the load/release operations order, when multiple Addressables.LoadAssetAsync and Addressables.Release are used to load and release the same Addressable Asset
- Dynamic text is rendered in the background when it is inside the <font> tag
Resolution Note:
The recommendation for using a Prefab would be to call PrefabUtility.LoadPrefabContents and PrefabUtility.UnloadPrefabContents to handle the Prefab, rather than directly accessing the Prefab asset.