How to solve the problem that the scene image is displayed in the camera in Unity, but the game window is not displayed

        Recently, when I was learning Unity, I encountered such a problem: the scene screen is displayed in the camera, but it does not display when switching the game window. I hope everyone has to help.

Questions are as follows:

 

1. Layer problem

 First consider the layer problem, we switch the camera layer to the same layer as the object to see if there is any change.

2. Adjust camera culling mask options

Adjust  the culling mask to Defaut, then adjust the field of view to see it.

 

Guess you like

Origin blog.csdn.net/weixin_44813961/article/details/128347389