GraphicsQualityChangeRequest is broken

GraphicsQualityLevelChangeRequest doesn’t fire when the graphics quality changes as is expected

game.GraphicsQualityChangeRequest:Connect(function(...)
	warn(...)
end)

while wait()do
	print(UserSettings().GameSettings.SavedQualityLevel)
end

3 Likes

v e r y late response but,

i was looking through the dev hub page of that property, i found out it only works with the quality hotkeys
(F10 & Shift + F10)

i ended up making a solution for this for anyone that wants to use this, heres the code

local gameSettings = UserSettings():GetService("UserGameSettings")

local lastQuality = (gameSettings.SavedQualityLevel == Enum.SavedQualitySetting.Automatic and 1 or tonumber(string.sub(gameSettings.SavedQualityLevel.Name,13)))

gameSettings:GetPropertyChangedSignal("SavedQualityLevel"):Connect(function()
	if gameSettings.SavedQualityLevel == Enum.SavedQualitySetting.Automatic then return end
	local currentLevel = tonumber(string.sub(gameSettings.SavedQualityLevel.Name,13))
	if currentLevel > lastQuality then -- increase
		print("increase")
	end
	if currentLevel < lastQuality then -- decrease
		print("decrease")
	end
	lastQuality = currentLevel
end)
2 Likes