The weapon passes through the walls.

None of the Collision enabled does not solve the problem.Maybe there’s another solution?For example, in unity you can have one camera that shows the weapon and the second camera display everything else.And that solved the problem.