Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Build failed with Unity 5.2.2p1

Discussion in 'Windows' started by BrokenAngel, Nov 2, 2015.

  1. BrokenAngel

    BrokenAngel

    Joined:
    Mar 24, 2013
    Posts:
    92
    I got this build failed when porting project from 5.1.3p1 to 5.2.2p1 , and I got this error log


    Does anyone got this problem ?
     
  2. BrokenAngel

    BrokenAngel

    Joined:
    Mar 24, 2013
    Posts:
    92
    Anyone can help me ? :( Now I'm using Unity 5.3.0f4 also got this problem
     
  3. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,507
    At what point do you get this error?
     
  4. BrokenAngel

    BrokenAngel

    Joined:
    Mar 24, 2013
    Posts:
    92
    When I deploy to my device in release mode
     
  5. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,507
    How big are your managed assemblies (like Assembly-CSharp.dll, etc) in the generated VS project?
     
  6. BrokenAngel

    BrokenAngel

    Joined:
    Mar 24, 2013
    Posts:
    92
    My file size is

    Assembly-CSharp.dll : 5354KB
    Facebook.Client.dll : 210KB
    Facebook.dll : 127KB
    Google.ProtocolBuffers.dll : 315KB
    Google.ProtocolBuffers.Serialization.dll : 57KB
    UnityEngine.dll : 9018KB ( the most lagest one )
    UnityEngine.UI.dll : 399KB
    WinRTLegacy.dll : 577KB
    And other just < 20KB
     
  7. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,507
    UnityEngine.dll is 9 MB?! That's much more than expected, are you by any chance using an obfuscator or something like that?

    The deployment error you get is due to Visual Studio failing to process only of the methods in the managed DLLs.
     
  8. BrokenAngel

    BrokenAngel

    Joined:
    Mar 24, 2013
    Posts:
    92
    No I'm not , it just a project from 5.1.3 ( which build is OK ) then I upgrade into 5.3 and this happen :(
     
  9. BrokenAngel

    BrokenAngel

    Joined:
    Mar 24, 2013
    Posts:
    92
    Oh , I just check the .dll , the build with 5.1.3f4 file size is

    UnityEngine.dll : 8412KB

    So what can I do ?
     
  10. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,507
    Can you PM me that Assembly-CSharp.dll and UnityEngine.dll?
     
  11. BrokenAngel

    BrokenAngel

    Joined:
    Mar 24, 2013
    Posts:
    92
    I have PM you a file , please take a look :)

    Thanks.
     
  12. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,507
    Alright, it does look like it could be an issue on our side. Could you submit a bug report?
     
  13. BrokenAngel

    BrokenAngel

    Joined:
    Mar 24, 2013
    Posts:
    92
    Submit my whole project ? Since I cannot reproduce it with new project :(
     
    Last edited: Jan 15, 2016
  14. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,507
    An empty project with all your scripts copied to it should still reproduce the issue - please try it. If so, could you submit such project?
     
  15. BrokenAngel

    BrokenAngel

    Joined:
    Mar 24, 2013
    Posts:
    92
    The bug report case number is 762582 :) I hope it will be fixed soon , so that I can release my game :(