I have some problem in my game, it’s 2D TopDown RogueLike. And in some scenes I have procedural level generator, which use Tilemap. 2 tiles (wall and floor), wall attached component rigidbody and tilemap Collider. In Unity I have no errors, all work perfectly, player and enemies collise with wall, but after I pressed build in this scene (in .exe) player and enemys can walk through wall, in other scene without TileMap there is no problem.
Maybe someone have similar problem and know how solve it?