Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Bug Build Fail Bug - Unity 2023.2. 5 and 10

Discussion in 'Editor & General Support' started by soleron, Feb 20, 2024.

  1. soleron

    soleron

    Joined:
    Apr 21, 2013
    Posts:
    626
    What is the "Bee" and why could it be failing?
    Looks like there is some issue with file/folder access?
    Or maybe a bug?

    Build completed with a result of 'Failed' in 28233 seconds (28233275 ms)
    Building Library\Bee\artifacts\UWPPlayerBuildProgram\ReferenceRewriterResults\ConditionalExpression.dll failed with output:
    Catastrophic failure while running rrw: System.IO.FileNotFoundException: Could not find file 'Z:\Unity\Projects\MG_UWP\Library\Bee\artifacts\UWPPlayerBuildProgram\ReferenceRewriterResults\ConditionalExpression.dll'.
    File name: 'Z:\Unity\Projects\MG_UWP\Library\Bee\artifacts\UWPPlayerBuildProgram\ReferenceRewriterResults\ConditionalExpression.dll'
    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
    at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
    at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
    at Mono.Cecil.ModuleDefinition.Write(String fileName, WriterParameters parameters)
    at Unity.ReferenceRewriter.Program.Main(String[] args)

    UnityEngine.GUIUtility: ProcessEvent (int,intptr,bool&)
     
    Last edited: Feb 20, 2024
  2. soleron

    soleron

    Joined:
    Apr 21, 2013
    Posts:
    626
    This is a bug related to Ransomware Protection (Windows Security), Folder Protection, or however they call it in different products.

    A certain process is happening in the background that cannot be identified as a process and thus, can't be excluded.

    This leads to builds failing and even projects in broken state until the project folders can be excluded from protection. Which is not a good thing.

    The affected processes are, Bee, something during the loading/installation of URP, IL2CPP compiling. Perhaps others.