Very rarely when playing my game, after joining, the lighting in the game is more harsh compared to what it should look like. Red-ish tint and different shadows it seems. This issue might be connected to this bug report. If it is, the solution does not seem to be working for me.
Yes actually, it does seem that way. Nowhere in my code do I change EnvironmentDiffuseScale, so I find that odd. (I do change other properties however.)
All it does is increase the Ambient property based on the skybox. What seems to be happening is that it’s not calculating the skybox contribution. There’s not much you can do to work around it until this bug is fixed, but you could set EnvironmentDiffuseScale to 0 and tweak OutdoorAmbient to get the same blu-ish tint.
I assume there is a difference in this graphical quality setting and this graphical quality setting. Maybe in Roblox’s core scripts it changes the 0-10 values into 0-21. Or, maybe that has nothing to do with this at all.
I found this thread by searching EnvironmentDiffuseScale. I’m having the same problem and figured out this is the property at fault. The in-game glitch happens around 50% of the time I play my game on Windows and hasn’t occurred on my Mac even once thus far
Also, something that may help the report is that when my blue skybox is switched out to a black one(through a script), the lighting adjusts accordingly, but when it changes back to the blue skybox the lighting doesn’t readjust back to a blue diffuse.
I will clarify, though, that this bug occurs on Windows even if you have only one skybox never switched through scripts.
It appears the bug is happening to me less now. I’ll keep monitoring it and @Reditect tell me if you notice any difference
Edit: Okay never mind…it’s still happening a lot. But strangely I had one session where I just couldn’t get the bug to occur, I the skybox was switching between a blue sky and pitch black and it was recalculating the diffuse every time. This makes me think the problem is related to a failure of the diffuse code to load on join
How is your performance? How long did you wait between taking this screenshot? My theory is that the lighting updates are being throttled a ton, for whatever reason, causing the ambient lighting to never update to match the skybox.
I loaded into my game, it looked fine, then I pressed play on a new save file in my game, which has some lighting setting changes like the sky box whenever the player goes to a new world/environment. I’d say it took less than a minute to get the issue. I took the screenshot like 10 seconds after I encountered the issue and then sent it here.
The theory could be correct, but since the issue happens rarely, it’s difficult to test it. Maybe a function that updates the skybox when pressing a button can be used to test it when it does happen.
Just two days ago this started happening to me on my MacBook. First occurrence Aug 19 11:41AM GMT. Previous to this date it had not occurred even once on my Mac, only on my windows. Now the behavior is present on my Mac in the same exact manner, including needing to restart the app to temporarily correct the bug.
We still dont have a reliable repro from my understanding. Would really appreciate if you could reproduce it reliably on some machine and send as many details as possible.
The bug was just happening 5 hours ago—of that I’m certain. In fact I created this bug repro a few hours ago, and the bug was occurring in the Roblox app:
Diffuse bug repro.rbxl (55.1 KB)
In the repro, every 5 seconds the skybox changes. The shade of the baseplate should change with each recalculation(I used a ColorCorrectionEffect object to magnify the otherwise subtle color difference), but with the bug it doesn’t after the second cycle.
Now some staff member definitely changed something, because my Roblox just did an update and it ain’t happening anymore. My Windows isn’t being used by myself at the moment, so perhaps someone on staff can attempt the repro on Windows OS?