Search Issue Tracker
Fixed in 2019.3.X
Fixed in 2020.1.X
Votes
0
Found in
2017.4
2019.3.7f1
2020.2
Issue ID
1234392
Regression
No
CompositeCollider2D.GenerateGeometry does not regenerate Collider when the composite is TilemapCollider2D
How to reproduce:
1. Open up my attached project
2. Add Playground Scene into Hierarchy and Enter Play Mode
3. Observe the Collider behaviour
Expected result: GenerateGeometry() updates the newly created Tiles Collider geometry and the blue falling block collides with the Tiles
Actual result: GenerateGeometry() does nothing when used in this context, a blue block falls down through the white Tiles and hits the red block down below
Reproduced in: 2017.4.39f1, 2018.4.21f1, 2019.3.9f1, 2020.1.0b5, 2020.2.0a7
-
Excelscience
Aug 16, 2020 07:57
https://www.sbnation.com/users/Contentsmission
https://www.mmamania.com/users/Contentsmission
https://www.mmafighting.com/users/Contentsmission
https://www.arrowheadpride.com/users/Contentsmission
https://www.ninersnation.com/users/Contentsmission
https://www.silverandblackpride.com/users/Contentsmission
https://www.badlefthook.com/users/Contentsmission
https://www.milehighreport.com/users/Contentsmission
https://www.silverscreenandroll.com/users/Contentsmission
https://www.patspulpit.com/users/Contentsmission
https://www.windycitygridiron.com/users/Contentsmission
https://www.barcablaugranes.com/users/Contentsmission
https://www.amazinavenue.com/users/Contentsmission
https://www.bleedcubbieblue.com/users/Contentsmission
https://www.netsdaily.com/users/Contentsmission
https://www.celticsblog.com/users/Contentsmission
https://www.buffalorumblings.com/users/Contentsmission
https://www.bigblueview.com/users/Contentsmission
https://www.behindthesteelcurtain.com/users/Contentsmission
https://www.thephinsider.com/users/Contentsmission
https://www.pinstripealley.com/users/Contentsmission
https://www.silverandblackpride.com/users/Contentsmission
https://www.poundingtherock.com/users/Contentsmission
https://www.goldenstateofmind.com/users/Contentsmission
https://www.fieldgulls.com/users/Contentsmission
https://www.aseaofblue.com/users/Contentsmission
https://www.everydayshouldbesaturday.com/users/Contentsmission
https://www.truebluela.com/users/Contentsmission
https://www.acmepackingcompany.com/users/Contentsmission
https://www.dawgsbynature.com/users/Contentsmission
https://www.fearthesword.com/users/Contentsmission
https://www.canalstreetchronicles.com/users/Contentsmission
https://www.battleofcali.com/users/Contentsmission
https://www.anaheimcalling.com/users/Contentsmission
https://www.stlouisgametime.com/users/Contentsmission
https://www.secondcityhockey.com/users/Contentsmission
https://www.ontheforecheck.com/users/Contentsmission
https://www.milehighhockey.com/users/Contentsmission
https://www.hockeywilderness.com/users/Contentsmission
https://www.defendingbigd.com/users/Contentsmission
https://www.arcticicehockey.com/users/Contentsmission
https://www.jacketscannon.com/users/Contentsmission
https://www.pensburgh.com/users/Contentsmission
https://www.lighthousehockey.com/users/Contentsmission
https://www.japersrink.com/users/Contentsmission
https://www.canescountry.com/users/Contentsmission
https://www.broadstreethockey.com/users/Contentsmission
https://www.blueshirtbanter.com/users/Contentsmission
https://www.allaboutthejersey.com/users/Contentsmission
https://www.wingingitinmotown.com/users/Contentsmission
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
- The Sprite Library Editor window has an incorrect order of Sprites when the Sprites are reordered and the order saved
- Tilemap Tiles do not get lit up unless the Light Range is greater than the distance between the position of the Tile before the transformation and the Light Source when the Tile is transformed with Tilemap.SetTransformMatrix method
- The Editor and "Reloading Domain" windows are frozen when entering Play Mode
- Crash when attempting to create a custom FMOD DSP unit
- [Linux] Floating windows do not keep their size after restarting the Editor
Resolution Note (fix version 2019.3):
Fixed in 2020.2.0a12.1461_72e8467d6ce5
2D: Added: Add HasTilemapChanges and ProcessTilemapChanges for TilemapCollider2D to immediately process Tilemap changes instead of waiting for batched processing in LateUpdate.
New functionality code example:
private Tilemap tilemap;
if (tilemap.GetComponent<TilemapCollider2D>().HasTilemapChanges())
{
tilemap.GetComponent<TilemapCollider2D>().ProcessTilemapChanges();
}
tilemap.GetComponent<CompositeCollider2D>().GenerateGeometry();