Search Issue Tracker
Fixed in 2019.3.X
Fixed in 2019.4.X
Votes
2
Found in
2019.3.0a12
2019.3.0b8
2020.1
Issue ID
1194166
Regression
Yes
GameObjects created by RuleTile are destroyed if Tilemap.CompressBounds is called during awake or start
How to reproduce:
1. Open user's attached project ("2019.3 test project.zip") using the EnvIronman VM (more information in Edit)
2. Load "Bug scene" scene
3. Tick "Compress During Start" found on "Compress(Script)" (Hierarchy -> Grid -> Tilemap)
4. Enter the Play mode
Expected result: no GameObjects are destroyed after entering the Play mode when "Compress During Start" is checked
Actual result: part of GameObjects created by RuleTiles are destroyed after entering the Play mode when "Compress During Start" is checked
Reproduced with: 2019.3.0a12, 2019.3.0b9, 2020.1.0a11
Not reproduced with: 2019.2.11f1, 2019.3.0a11
Could not reproduce with: 2017.4.33f1, 2018.4.12f1 (various dependency errors, including ones related to 2D Tilemap)
Notes:
- amount of GameObjects in the scene can be checked by right-clicking on "Compress(Script)" and selecting "Count game objects"
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
- A submenu disappears on MacOS when the MenuItem method argument "isVariableFunction" is set to "false" and priority argument is set to "-1"
- 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
Resolution Note (fix version 2019.4):
Fixed in: 2019.4.8f1