Closed nathanleiby closed 4 years ago
Trello: https://trello.com/b/hmdxVEYb/gamedev
Collisions were working in when running the game within the Unity sandbox, but not in full builds.
It seems like we're hitting this issue: https://forum.unity.com/threads/tilemap-collider-2d-doesnt-work-after-building-the-game.507218/
Doing the same fix described here (generating physics shapes from sprites) worked! https://forum.unity.com/threads/tilemap-collider-2d-at-runtime.453533/#post-2938531 (see also: https://github.com/Unity-Technologies/2d-extras/issues/62#issuecomment-443158232)
NOTE: Collisions are WAAAY better, vs just falling in an infinite, ever accelerating (portal-like) loop. However, there are still some wonky collisions, e.g. if you jump it's possible to pass through the platforms in some cases.
Trello: https://trello.com/b/hmdxVEYb/gamedev
Collisions were working in when running the game within the Unity sandbox, but not in full builds.
It seems like we're hitting this issue: https://forum.unity.com/threads/tilemap-collider-2d-doesnt-work-after-building-the-game.507218/
Doing the same fix described here (generating physics shapes from sprites) worked! https://forum.unity.com/threads/tilemap-collider-2d-at-runtime.453533/#post-2938531 (see also: https://github.com/Unity-Technologies/2d-extras/issues/62#issuecomment-443158232)
NOTE: Collisions are WAAAY better, vs just falling in an infinite, ever accelerating (portal-like) loop. However, there are still some wonky collisions, e.g. if you jump it's possible to pass through the platforms in some cases.