Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

errors causing build failure

Discussion in 'Editor & General Support' started by Hawk0077, Jan 23, 2022.

  1. Hawk0077

    Hawk0077

    Joined:
    Nov 6, 2017
    Posts:
    788
    Hi, I am getting the folowing Consol errors so the build fails on unity 2019.4.34f1.
    Any ideeas how to fix them, thanks


    Build completed with a result of 'Failed' in 19 seconds (18994 ms)
    UnityEngine.GUIUtility:processEvent (int,intptr)

    UnityEditor.BuildPlayerWindow+BuildMethodException: 2 errors
    at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (UnityEditor.BuildPlayerOptions options) [0x002bf] in <785fa035f6c842aea795e821898770c6>:0
    at UnityEditor.BuildPlayerWindow.CallBuildMethods (System.Boolean askForBuildLocation, UnityEditor.BuildOptions defaultBuildOptions) [0x00080] in <785fa035f6c842aea795e821898770c6>:0
    UnityEngine.GUIUtility:processEvent (int,intptr)

    Assembly 'Library/ScriptAssemblies/Unity.CollabProxy.Editor.dll' will not be loaded due to errors:
    Reference has errors 'Unity.PlasticSCM.Editor'.

    Assembly 'Library/ScriptAssemblies/Unity.PlasticSCM.Editor.dll' will not be loaded due to errors:
    Reference has errors 'unityplastic'.

    Assembly 'Packages/com.unity.collab-proxy/Lib/Editor/PlasticSCM/unityplastic.dll' will not be loaded due to errors:
    unityplastic references strong named System.Drawing Assembly references: 4.0.0.0 Found in project: 2.0.0.0.
    Assembly Version Validation can be disabled in Player Settings "Assembly Version Validation"

    Any guidance appreciated, thanks