Search Issue Tracker
Won't Fix
Votes
0
Found in
2017.4.0f1
2018.4.0f1
2019.2.0a1
2019.2.8f1
2019.3.0a1
2020.1.0a1
Issue ID
1189728
Regression
No
TilemapCollider2d generates Collider shape when Generate Physics Shape is not set and Custom Physics shape is set to zero
To reproduce:
1. Open attached project ("case_1189728-Sample.zip")
2. Select "Grid" Game Object in the Hierarchy
3. Open Tile Palette window and select "Test" palette
4. Paint the sprite with the selected palette to the Scene
Expected result: Painted sprite has no Collider shape
Actual result: Painted sprite has Collider shape
Reproducible in: 2017.4.33f1, 2018.4.11f1, 2019.2.9f1, 2019.3.0b7, 2020.1.0a8
Note - The Collider shape will not be generated in the built Player
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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Resolution Note (2020.1.X):
For Tiles which do not generate a Collider Shape, we would recommend setting the Tile's Collider Type to None. Setting this will make the TilemapCollider2D not create a Collider Shape for this Tile.
In the future, we could introduce a new Collider Type which specifically generates a Tile's Collider Shape from the Sprite's Physics Shape instead of the current behaviour where it tries to generate a Collider Shape from the Sprite's Physics Shape first and the Sprite's outline if the Physics Shape does not exist.