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
- 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
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.