Camera only displaying one object even though culling mask is set to everything

Well it is basically as the title says. I am working on setting up a camera for each player. Currently, however I am only working with one player. Essentially the problem is when I instantiate the player and the player camera, everything seems to work, I switch to display 2 (which is what the camera is set on) and it only displays that character. I’ve tried moving the camera around in the hierarchy, (in the canvas, out of the canvas, as a child of the player object, etc.) but that doesn’t seem to help. The camera is set to a position where it should see everything else. The camera is at -10 z, everything else is -1 z or above, and the objects appear to fit within the lines the camera sees. The other objects that should be displayed are buttons. This is a 2D game in case you were wondering.

On a slightly related note, I often run into bugs that seem to have no correlation with the code or anything else. For example, in one game I made the level generation would only go partway and then stop. There did not seem to be any reason. Eventually, I cut out the code, ran the game, ended the game, pasted back in the code and it worked just as it should. Why is this? Is it my computer that is having problems (it is pretty old…) or what?

If this is a 2d game, your Camera’s z position MUST be set to -10.