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
- Crash on JobQueue::HasJobGroupIDCompleted when closing the Editor while in Play mode on a specific project
- In "Preferences" section the “SpriteShape” menu item, the details page title “SpriteShape”, and “ControlPoint” entries are displayed as code strings rather than formatted UI strings
- Errors thrown constantly when Virtual Offset Debug is enabled and lighting was baked on AMD machine
- Persistent Memory Leak when reloading domain and using Distance-based Ghost Importance
- HDRP project doesn't render in standalone player when using High stripping
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.