Copied file is X bytes, source was Y

I’ve been testing 2022.1.0b7 and while everything in the editor I do seems to work (except a few annoying crashes), I can no longer create a build. Instead the log shows me errors like this:

*** Tundra build failed (7.00 seconds), 105 items updated, 219 evaluated
Library\ScriptAssemblies\Unity.2D.Sprite.Editor.pdb: The copied file is 84064 bytes, but
the source file was 176136 bytes.
Library\ScriptAssemblies\Unity.Timeline.dll: The copied file is 134656 bytes, but the sou
rce file was 94208 bytes.
DisplayProgressNotification: Build Failed

Library\ScriptAssemblies\Unity.Timeline.dll: The copied file is 134656 bytes, but the source file was 94208 bytes.

If I try to build 10 times, the soecific dll and the number of bytes changes every time.

Any suggestions? Is this a known issue or shall I file a bug?
(Windows 10, project builds file with 2021.2.10f1 and previous releases on the same machine)

Hi @argh6543 ,

I couldn’t find any known issues about this so a bug report with a minimal reproduction project would be much appreciated.

Case 1406839 is filed. It looks like everything is great if I use either local drives, or use a older version prior to 2022.1. But if I use 2022.1.0b9 AND the files are on a NAS share, it fails.

1 Like