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


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)


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


Sorry to bump this thread, but this issue is still occurring as of 2023. :pray:


Sorry for the delay, but I have just submitted a fix for this bug. I can’t say exactly when it will go live, but I’ll update this thread when it does. Thanks for submitting a bug report!


Thank you for the hard work! Looking forward to the fix going live :raised_hands:

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.