Search Issue Tracker
By Design
Votes
0
Found in [Package]
2020.1.0b6
2020.1.7f1
2020.2
Issue ID
1282467
Regression
No
Collision does not occur in Build when the Tilemap's sprite is imported with PSD Importer
How to reproduce it:
1. Open the user's attached project
2. Load 'BaseLevel' scene from 'Assets' > 'Scenes' folder
3. Enter Play mode
4. Observe that 'Player' Prefab collides with the Tilemap and doesn't fall down
5. Exit Play mode
6. Build and Run this project
Expected result: 'Player' Prefab collides with the Tilemap and doesn't fall down through the floor
Actual result: 'Player' Prefab does not collide with the Tilemap and falls down through the floor
Reproducible with: 3.1.6 (2020.1.0b6, 2020.1.8f1), 4.0.2 (2020.2.0b10, 2021.1.0a4)
Could not test with: 2019.4, 2020.1.0b5 and lower (due to errors)
Note:
- Reproduces on Mac and Windows Standalone builds
- Works if you apply Composite Collider 2D to the 'Tilemap' GameObject
- 'Player' Prefab collides with 'GameObject' GameObject, which has a Box Collider 2D
- Tilemap's sprite is imported with PSD Importer, which does not have Generate Physics Shape value
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Constant console errors when using Min/Max Slider in PlayMode
- The global scene list is overridden in a project built with command line when the Override Global Scene List setting is disabled in the build profile
- [Linux] AutoLocale log is logged when opening a project
- Global Scenes are not included in the Build when building multiple Build Profiles at the same time
- [iOS] WebCamDevice.availableResolutions returns a single resolution with width and height both 0 on some iOS devices
Add comment