ViewportFrames not respecting the ZIndex nor DisplayOrder of either of their parents

Previously posted in a support category: Weird ZIndex & DisplayOrder behavior w/ViewportFrames.


As shown in this video, I’ve made a pair fancy handles for my WIP plugins:

However, as you can see, the handles are underlying the Bone BasePart when they’re supposed to show on top of it. I figured ZIndex, AlwaysOnTop and DisplayOrder makes no difference as it seems like the HandleAdornment class simply ignores their parent ViewportFrame’s ZIndex and their ScreenGui’s DisplayOrder no matter what they’re set to.


Information to reproduce the issue:

Explorer Setup

image

Overlay ScreenGui Properties

image

Overlay ViewportFrame Properties

Underlay ScreenGui Properties

image

Underlay ViewportFrame Properties


Repro file:
RigEditorHandleReproFile.rbxl (49.4 KB) (you might have to set the ViewportFrames’ CurrentCamera on open)


Fix attempts:

  • Parent both ViewportFrames to the same ScreenGui.
  • Parent both the PositionPart & Bone to the same ViewportFrame.
  • Played around with ZIndex and DisplayOrder in every way possible.
  • Played around with the HandleAdornments’ ZIndexes.
  • Parent the HandleAdornments to-, and outside both ViewportFrames.

Please, before you decide to reply, put some thought into your reply as I am not new to Roblox Studio.

4 Likes

This is still an issue and is preventing me from implementing these handles.

1 Like

Still an issue affecting viewport frames to this very day. Engineers please update us on this.

1 Like