My viewport frame invisible when I play the game, how to fix it?

  1. What do you want to achieve?

    I want to make a information gui for my mining system.

  2. What is the issue? Include screenshots / videos if possible!

    The issue is when I play the game, the viewport frame keep turn into invisible for no reasons.

  3. What solutions have you tried so far? Did you look for solutions on the Developer Hub?

    I have checked the index, position, and the visible property of the viewport frame while playing the game and it is totally fine…

Here is some screenshot:


Send the properties of the Viewportframe, along with a pic of it in Explorer, could be a lot of things, Have you set a camera for the viewport, along with a model that’s positioned so the Camera can see?

I didn’t set the camera for the viewport along with a model.