Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice
  2. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  3. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Copied file is X bytes, source was Y

Discussion in '2022.1 Beta' started by argh6543, Feb 14, 2022.

  1. argh6543

    argh6543

    Joined:
    Apr 14, 2017
    Posts:
    48
    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)
     
  2. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    3,132
    Hi @argh6543,

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

    argh6543

    Joined:
    Apr 14, 2017
    Posts:
    48
    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.
     
    LeonhardP likes this.