Hello, today, when I was working on the UI for my game, I decided to test the game outside of studio to check if the UI looks good in a real game, and there was a problem with lightning.
For some reason, when Future or ShadowMap lightning technologies are enabled, when testing in a real game, lightning seems to be broken and unexpectedly affects my game. I have no idea why this is happening, but the shadows are blinking and the enemies models are just disappearing or enemies stop walking which is really strange, because there are no such issues while testing game in studio.
Here are videos with bugs, so you clearly can understand what is going wrong:
In studio: https://youtu.be/yY2P1wqhaf4
In game: https://youtu.be/HKq4Gk6g40w
Disappearing enemies: https://youtu.be/eMKssehyuX8
Also I’ve noticed really strange behaviour of this bug while testing game:
As you can see, issue fixes after around a minute of waiting and then when I use commands it happens again. It’s not game bug I guess because commands doesn’t break game in studio and bug is happening not only when using commands but also when joining the game.
Also I joined my game with 2 different players and they didn’t have this problem. Enemies were walking fine and lightning didn’t blink. I reinstalled my drivers, rebooted pc and it didn’t help, problem still persists. I’m not sure at what moment it appeared, maybe after some update or fix on the roblox engine side.
Here are components of my PC:
CPU: AMD Ryzen 7 5700X 8-Core Processor 3.40 GHz
GPU: GIGABYTE GeForce RTX 3060 Ti GAMING D6X OC
RAM: 64,0 GB ADATA XPG SPECTRIX D45G RGB
Disks: Samsung SSD 870 QVO 2TB; StoreJet SCSI Disk Device 1TB; WDC WD20EZAZ-00L9GB0 2 TB;
Motherboard: GIGABYTE B550 AORUS ELITE AX V2
System: Windows 11 Pro; Version 23H2; Build 22631.3958
Additional information:
Place Id: 13976791222 (Defite Developer Build - Roblox)
Universe Id: 4838507449 (Game link: Defite Developer Build - Roblox)
Owner Group Id: 32679907 (Tornadium Interactive - Roblox)
Also I’m not sure if it can help you, but function which handles enemies movement calculations and models positioning is connected to the RunService.Heartbeat
event.
EDIT: Deleting and reinstalling Roblox & RobloxStudio didn’t help
Expected behavior
Lightning shouldn’t blink and enemies shouldn’t disappear as shown in the video with studio test.
A private message is associated with this bug report