Ta David Yu
Ta David Yu
 This should fix the problem, will update it later
Also remember when you are using Tilemap Collider, add a composite collider. Always use Polygon instead of Outline

Spotted: When Collider is disabled, its bound is zero. Should move Raycaster.Init()/CalculateRaycastSpacing() to Awake (before Collider is disabled by others).
I made an editor for my ECS game engine - [DYEngine](https://github.com/ta-david-yu/DYEngine). I can't live without Dear ImGui anymore, it's so useful.  Here is a feature highlight video: https://youtu.be/ZrwCcynemSA