Highlights do not render in certain situations when joining a server on PC

Repro:

  1. In an empty baseplate, create a server script with the code listed below and publish the game.
  2. Join the server with two different accounts. One account should join on mobile, and should join the server first. The other account should be on PC and should join the same server after the first account joins.
  3. Observe that on the mobile account, the highlight shows, and on the PC account the highlight does not show.

  4. Try the process again with a fresh server, joining in reverse order (so PC first, mobile second) and observe that both accounts show the highlight correctly.

It seems that if the PC player joins after the server has started or if they are not the first player to receive highlight instances, those highlights will not work. This bug even appears to happen if the highlights are created client-side within the first few frames (in the interest of time I have not tried to reproduce this in isolation, but it is the issue which initially caused me to investigate this bug). It can be fixed by waiting a longer time and then destroying the old highlights and creating new ones, or something like that.

Server code:

local Model = Instance.new("Model")
Model.Parent = workspace

local Highlight = Instance.new("Highlight")
Highlight.Parent = Model
Highlight.Adornee = Model
Highlight.DepthMode = Enum.HighlightDepthMode.Occluded
Highlight.FillColor = Color3.fromRGB(255, 255, 255)
Highlight.FillTransparency = 0.3
Highlight.OutlineColor = Color3.fromRGB(255, 255, 255)
Highlight.OutlineTransparency = 0

for Index = 1, 40 do
	local Part = Instance.new("Part")
	Part.Parent = Model
	Part.CFrame = CFrame.new(0, 20, 0)
end

Client version on PC:

Thank you for the report! We’ve added it to our internal bug database and will investigate as soon as we can.

While we can’t offer a specific timeline for a fix right now, we prioritize bugs based on several factors including severity, impact on users, and how many people are experiencing the issue.

We appreciate your patience and help in making Roblox better!

2 Likes