Strange "Bug?" Happening in Studio

Hi, while developing my game, this happened.
Yesterday everything was running fine, but today, when I joined the studio without any code changes, the game started doing this. What Is happening?
Even the properties say that the UI is visible false when I stop hovering the button, however, the image keeps being shown. Is there any explanation?

2 Likes

I really need help this is affecting the whole game.

1 Like

I would strongly recommend contacting developer relations or contact support (Support - Roblox)

3 Likes

I recently had the opposite problem where I couldn’t get the GUI to show. The solution was to place a task.wait(0) in the code before sending the gui show commands to the client. Of course, this may not be the solution to your issue. You can try restarting and reinstalling studio. That’s all that I can think of at the moment.

1 Like

They’re just posting responses from ChatGPT or some other AI all over the forum, ignore them.

2 Likes

It didn’t work too :confused: Also when I click some buttons that change UI’s visibility, the visibility only changes when I put the mouse outframe

1 Like

Nevermind, It doesn’t happen for a little but then everything goes to what it was

Waiting for an answer from them

1 Like

Awsome, you can contact Customer Support or you can talk to people who work in DevRel such as @Hooksmith (I think this is a devrel situation)

Please use the official process to file bug reports: https://devforum.roblox.com/t/cant-post-bug-reports-or-feature-requests/2009361

Our DevRel team does not triage bug reports (nor can I triage bug reports for you if you DM them to me), so please use the official process only.

2 Likes

Well that answers your question @RipperNobbs , Sorry HookSmith!! :smile:

Still waiting :frowning: This is really annoying

1 Like

Let me see your local script/script where the event is happening

2 Likes

It is happening in different scripts. Let me send you one of them (This is also happening with every button that has something related to Ui like visibility) I also thought this might be happening because of the new CanvasGroup (I’m using it), but not sure.

local ButtonTemplate = game:GetService("ReplicatedStorage"):WaitForChild("Assets"):WaitForChild("UI_Templates"):WaitForChild("MenuChoise")
local MenuChoises = require(game:GetService("ReplicatedStorage"):WaitForChild("Assets"):WaitForChild("UI"):WaitForChild("MenuChoises"))

for ButtonName, MenuSettings in pairs(MenuChoises) do
	local Template = ButtonTemplate:Clone()
	Template.Name = ButtonName
	Template.TextButton.Text = string.upper(MenuSettings.Text)
	
	Template.TextButton.MouseEnter:Connect(function()
		Template.SelectedLabel.Visible = true
		script.Parent:WaitForChild("BottomDetails"):WaitForChild("TextLabel").Text = MenuSettings.Hint
	end)

	Template.TextButton.MouseLeave:Connect(function()
		Template.SelectedLabel.Visible = false
	end)
	
	Template.TextButton.MouseButton1Click:Connect(MenuSettings.Callback)
	Template.Parent = script.Parent.Content
end
1 Like

I fixed it and unfortunately, I have to say that I had to rewrite many things in the game :confused:

If you are having this trouble please check if you are using CanvasGroups in your game! This was my problem.
CanvasGroups are an amazing class that allows developers to set without much code the transparency of whole UIs, however, this feature isn’t ready and has a lot of bugs.
All buttons were descendants of CanvasGroups and I think that class has to render bugs. For example, text and visibility aren’t always right, causing potential damage to the game’s accessibility and functionality, especially the UI-based games.

DON’T USE CANVASGROUPS! THEY ARE NOT READY!

I’ll have to rewrite like 70% of the code that is related to UI unfortunately.

1 Like

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