Reproduction Steps
- Create a new ScreenGui inside the StarterGui folder.
- Insert a
LocalScript
into the new screen GUI object. - Inside the script, paste the following code:
local viewportFrame = Instance.new("ViewportFrame")
viewportFrame.Size = UDim2.new(0.3, 0, 0.4, 0)
viewportFrame.Position = UDim2.new(0, 15, 0, 15)
viewportFrame.BackgroundColor3 = Color3.new(0, 0, 0)
viewportFrame.BorderColor3 = Color3.new(0.6, 0.5, 0.4)
viewportFrame.BorderSizePixel = 2
viewportFrame.BackgroundTransparency = 0.25
viewportFrame.Parent = script.Parent
local part = Instance.new("TrussPart")
part.Material = Enum.Material.Concrete
part.Color = Color3.new(0.25, 0.75, 1)
part.Position = Vector3.new(0, 0, 0)
part.Parent = viewportFrame
local viewportCamera = Instance.new("Camera")
viewportFrame.CurrentCamera = viewportCamera
viewportCamera.Parent = viewportFrame
viewportCamera.CFrame = CFrame.new(Vector3.new(0, 4, 6), part.Position)
Expected Behavior
The TrussPart should be visible, just like the part shown below:
(I created this by simply changing: local part = Instance.new("TrussPart")
to local part = Instance.new("Part")
.
Actual Behavior
The TrussPart does not render, seen below:
I’ve also had reports of the Truss being rendered weirdly. Visually it looks similar to how things render when very far away from world origin and experience floating point errors. Here is an example sent to me by a player in my game, Obby Creator:
Issue Area: Engine
Issue Type: Display
Impact: Low
Frequency: Constantly
Date First Experienced: 2022-01-25 22:01:00 (+00:00)