Why isn't DepthofField working?

Hi, so simply put I have a DepthofField that is placed under Lighting and when I enable/make changes to it via. LocalScript it blurs the screen and works ONLY in Play Solo mode. When I try to make it work in Server tests the DepthofField doesn’t activate when I enable it via. LocalScript. I thought that maybe if I use a script it could work, but that would just affect everybody wouldn’t it? So i’m asking if there is any workaround this problem. Thanks!

Can you expand on it only works in play solo mode?

Doesn’t work in start server but it works in a real server aka just going into your game on Roblox site. Don’t know the reason why it doesn’t work on server test mode.

That’s because you’re changing it on the client (using a LocalScript). It replicates on the client.
Therefore these changes won’t be seen on the server.

one idea I have from experience working with web servers is that the host (you in this case in server mode) cannot receive data from the client if they are being accessed by the server. (server cant access server in a sense). Now roblox fixes this by using the server replicator, it basically forwards signals coming from itself to basically block it and run on the client (itself). Perhaps you are updating it on the client and thus it cant update to the server replicator thus making it do the server to server thingy

Like I said, it works on a “real” server, but not in a test server even if you’re using LocalScript.

That’s probably right and a better guess than mine

it’d be like trying to connect to a localhost which is already hosted from your IP but runs on your computer and you try to connect to it

The DepthofField works it just requires a higher level of graphics to see it. To increase the graphics you need to go to studio setting and edit the level of graphics to 21.
I hope this helps.

Doing this will still make it so a test server doesn’t render the blur effect. It just makes it work in play solo mode, and probably a real server as well. My graphic requirement thing was already set to Max.

1 Like