Collision Mask -- Select your Character, and find 'Collision' in the inspector. Choose the Collision Mask corresponding to the Walls (e.g. Layer 3). -- Also, select the Walls, and set the Collision Layer (e.g. Layer 3).