In the AR Session Origin set the plane detection to vertical so that when a plane is detected the plane Manager instantiates the plane prefab to represent the plane. It was easier to detect dark objects that's why I used a blackboard.
Setting up wall detection