Harsh Lighting in-game compared to Studio

Level 21.

ā€œdifferentā€ compared to what? I am confused.


Edit:

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.

1 Like

I see. the graphics definitely dont look like level 21 in the picture though (the studio one)

Roblox Studio and Roblox Player have different graphic number limits - Studio allows setting between 0-21, while Player has only 0-10.

Whatkā€™s your Graphics Mode (Studio Settings > Graphics Mode)?

Automatic

image

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.

1 Like

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

1 Like

Encountered the issue again today:

1 Like

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.

1 Like

My performance felt fine.

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.

Iā€™m checking this out. Would @Reditect be okay sending me a DM of the rbxl placefile by any chance? DMs should be private.

1 Like

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?

2 Likes

Is this still happening? It seems Client and Studio are looking identical on this repro now.

Canā€™t say for sure since the issue fixed on Mac a while ago. Still havenā€™t gotten around to booting up my Windows, @Reditect is it happening for you?

No, the issue hasnā€™t happened for me since June 7th (windows).

Are we fine closing this issue out? @Reditect Feel free to tag me directly if this occurs again in a new bug report.

1 Like

Just did a last pass trying to repro all the files sent on Windows and Mac. Ill close this out by EOD if no one has any problem with this :slight_smile: .

Yes, weā€™re good to close this bug. Thanks!

1 Like

We appreciate the work yā€™allā€™ve done on this; good to know this bug is out of the way

1 Like