Cant find path with restriction zone + closed off area

Hey, I am having some problems with no path being returned when running the startpath method with an end point in an area that is closed off except 1 gate with an restricted zone which only other players units can walk through.