Editing part sizes by script does not update shadow size

Using the command line or plugins to edit part sizes does not update the shadow’s size in studio. Take this big brick for example:

use a script to shrink it to (1,1,1):

Notice what’s wrong? The shadow hasn’t changed size to reflect the part’s size.

Using command line or plugins to move this part will not change its shadow size either:

Changing the part’s CFrame or size via the default tools will reset the shadow, which is nice, but this won’t work ingame.

Note: the shadow size not changing is reflected by all size changes. Here is a large part resized from (1,1,1):

Expected behavior: CFraming and changing sizes of parts via scripts cause shadow size to update

1 Like

Does this happen if you try the same thing in-game with the developer console, or only in Studio?

I’ve been noticing this as well.
Here’s a recording of it happening ingame with the dev console.

Thanks – engine bug then. Moved categories.

Thank you for fixing this bug