Play game in viewport and as standalone have wildly different lighting

Hi. I’m developing a game for a project, but ran into a wall and have been quite lost for the past days. When I play in viewport, my game looks fine, the lighting is exactly what I need it to be, but when i play in standalone mode the lighting looks awful.

This google drive link has a folder with four images: Lighting in Viewport/Standalone - Google Drive . Being these a room from viewport and the same one on standalone game and a hall in viewport and the same on standalone

Interestingly enough, I also have a camera system and the lighting on the camera’s image looks exactly the same as the one in viewport, which might indicate the problem is on the player’s camera – although I’d have no guess on what it might be lol.

I do not understand why such changes happen while chaging the play mode, and I’d assume the standalone game emulates what the actual packaged game would be (correct me if I’m wrong) and thus would be really important for it to look right. Can you guys help me out?

Thanks in advance.

Hey there @idks9! The editor uses a quick preview of the rendering for performance reasons, as there is overhead to running the editor as well. Scalability is likely also a contributor, as they will frequently differ between builds and in editor. If possible, I would stick to using the standalone lighting as a better example of how the final scene when built will look.

1 Like

Thanks for the answer. After messing around a bit I found out the problem was my custom sky atmosphere BP, I’m never using one of these again lol

1 Like