How to let units pass diagonal colliders

hi, I want to let units pass two diagonal colliders like this:

I dont want to make the unit collider smaller, cause I can’t select my units right…


There is no built-in option for this, however you can change it easily in the code. If you open up the GridGenerator.cs file and search for the line

if (((conns >> i | conns >> (i+1) | conns >> (i+1-4)) & 1) != 0) {

It should exist inside the CalculateConnections(int x, int z) method.
you can replace it with

if (true) {

This assumes that you have the ‘cut corners’ option enabled in the grid graph settings.