How can I disable collision between multiple objects?

I have multiple instance of same prefab in scene. I need them not collide with each other. I tried to set their layer and turn collision off in physics manager (edit - project settings- physics) but this does not work. I also tried use Physics.IgnoreLayerCollision but that was useless too.
How can I make it work without removing absolutely all collisions?

you can remove or disable their colliders

here

4717724--446150--disable.png

you can uncheck the collider to stop it from existing

That is the opposite of what I want.

I need remove collision only between “object” and objects of same type but not the “object” and everything.

But somehow even that does not work

Well… I found the problem, but not its solution. Problem that NavMeshAgent that I use prevents them from passing through each other.

For the problem of disabling collision between two colliders you can call Physics.IgnoreCollision after instancing the prefabs.

(Sorry, I can’t help if the problem is with the nav meshes, I don’t have any experience with them).