Models parented inside workspace cause shadows to break/flicker briefly

When models with several meshparts are parented to a descendant of the workspace, lighting bugs out and shadows seem to flicker, sometimes for a brief moment or sometimes for a second or two.
https://gyazo.com/fb2c5ec7bb0d0ad76ed876e0a256a0f5

Currently, the previous viewmodel is parented to nil, and the new viewmodel is parented to the camera.
I have tried playing around with where these are parented, it seems that this happens whenever something is parented from anywhere outside of the workspace, to somewhere within the workspace.

This is happening across ALL lighting technologies, and can even be seen happening when GlobalShadows are disabled…?

Interestingly, this only happens once per viewmodel. For example if you spawned with a pistol, it would happen once that pistol was parented to the workspace but if something else was equipped for the first time, it would then happen again. But swapping back to that pistol, it will not happen. Now if you were to drop that and get an identical pistol, it would again happen once, leading me to believe this is something to do with the model being cloned and then parented to the workspace for the first time.
https://gyazo.com/aea44aae37db91ff2fdc7f219182957b

I’m using Windows 10 with a Ryzen 5 3600 and an RTX 3060 12GB, with 32GB of DDR4 RAM, and the QA testers of the game are all experiencing the same issue. I have linked the game in the staff-only section since it is currently private.

This has been happening for a few months now, and is 100% reproducable both in-game and in studio.

Expected behavior

When models are parented to a descendant of the workspace for the first time, the lighting should not flicker.

A private message is associated with this bug report

3 Likes

Thanks for the report! I filed a ticket in our internal database.

1 Like

The experience itself seems to be private as well. Would you be willing to add an rbxl file to the private DM?

Added rbxl and updated place link to private DM.

1 Like

Out of curiosity, does the issue still repro 100% in the experience?

Yes, it is reproduceable 100% of the time

1 Like