CanvasGroup stops rendering ViewportFrames contents after toggling visible

Reproduction Steps

  1. Insert a CanvasGroup into a ScreenGui
  2. Insert a ViewportFrame into the CanvasGroup
  3. Place a part and camera into the Viewport
  4. Set the Viewports CurrentCamera and center the block to the camera
  5. Make sure the part is visible and rendering in the Viewport
  6. Toggle the CanvasGroups visible property 2 times

System Information: Intel(R) Core™ i7-8700T CPU @ 2.40 GHz, 16 GB, NVIDIA GeForce GTX 1050

Repro File
This file contains a simple demonstration of the bug. There is a toggle button and 2 other buttons to demonstrate what resumes the viewports render.

CanvasGroup_Viewport_Bug.rbxl (50.4 KB)

Expected Behavior

I expect the ViewportFrame to continuously render itself after toggling the CanvasGroups visible property.

Actual Behavior

The ViewportFrame stops rendering when the parent CanvasGroups visible property is set to true.

Image from Gyazo

Workaround

Currently, one workaround is to change a property of the ViewportFrame which resumes the rendering of objects.

Issue Area: Engine
Issue Type: Display
Impact: Moderate
Frequency: Constantly
Date First Experienced: 2022-12-01 09:12:00 (+00:00)
Date Last Experienced: 2022-12-09 00:12:00 (+00:00)

4 Likes

Thanks for the report! We’ll follow up when we have an update for you.

3 Likes