Search Issue Tracker
Fixed in 2017.2.0f3
Fixed in 2017.2.X, 2017.3.X
Votes
1
Found in
2017.3.0b2
Issue ID
957272
Regression
No
Tilemap SetTilesBlock() causes an error on first call "The number of tiles set is not equal to the count from the dimensions..."
Reproduction steps:
1. Open project attached (TilemapSetBlockAssertion.zip)
2. Play scene "SetBlockTest".
Expected result: Tiles will be set correctly without errors.
Actual result: There is an error on the first call: "Assertion failed: The number of tiles set is not equal to the count from the dimensions given."
Notes: I was also able to reproduce it with example code from docs: https://docs.unity3d.com/2017.2/Documentation/ScriptReference/Tilemaps.Tilemap.SetTilesBlock.html
Reproduced on: 2017.2.0b2, 2017.3.0a7, 2017.3.0b3.
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
- Standalone Player crashes with "TDerived GetOrLoad<TDerived>() where TDerived : T" when IL2CPP Code generation is set to "Faster (smaller) Builds"
- IndexOutOfRangeException and InvalidOperationException when logging XML string
- Script missing in "Assets/Settings/Mobile_Renderer/GlobalVolumeFeature" of "com.unity.template.urp-blank" template
- “Font Asset Creator - Error Code [Invalid_File_Structure]…“ error is logged when generating Font Assets from fonts with meta files from previous Editor versions
- Input.mousePosition returns (NaN, NaN, 0.00) when Scene view is opened
Teh_K
Nov 09, 2017 18:03
This bug still occurs in 2017.2.0f3