Search Unity

Problem building after importing a 5.4 project to 5.5

Discussion in '5.5 Beta' started by Mangler2010, Sep 30, 2016.

  1. Mangler2010

    Mangler2010

    Joined:
    Jan 14, 2013
    Posts:
    5
    I am getting this error now when I build a hololens app using the MS Store build.. I was wondering if any one else has encountered it yet. If I create a new project I do not get the error.

    AssemblyResolutionException: Failed to resolve assembly: 'UnityEngine, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'
    Mono.Cecil.BaseAssemblyResolver.Resolve (Mono.Cecil.AssemblyNameReference name, Mono.Cecil.ReaderParameters parameters)
    Mono.Cecil.BaseAssemblyResolver.Resolve (Mono.Cecil.AssemblyNameReference name)
    Mono.Cecil.DefaultAssemblyResolver.Resolve (Mono.Cecil.AssemblyNameReference name)
    Mono.Cecil.MetadataResolver.Resolve (Mono.Cecil.TypeReference type)
    Mono.Cecil.ModuleDefinition.Resolve (Mono.Cecil.TypeReference type)
    Mono.Cecil.TypeReference.Resolve ()
    UnityEditor.AssemblyReferenceChecker.InheritsFromMonoBehaviour (Mono.Cecil.TypeDefinition type) (at C:/buildslave/unity/build/Editor/Mono/Utils/AssemblyReferenceChecker.cs:174)
    UnityEditor.AssemblyReferenceChecker.InheritsFromMonoBehaviour (Mono.Cecil.TypeDefinition type) (at C:/buildslave/unity/build/Editor/Mono/Utils/AssemblyReferenceChecker.cs:174)
    UnityEditor.AssemblyReferenceChecker.MethodIsMouseEvent (Mono.Cecil.MethodDefinition method) (at C:/buildslave/unity/build/Editor/Mono/Utils/AssemblyReferenceChecker.cs:160)
    UnityEditor.AssemblyReferenceChecker.CollectReferencedAndDefinedMethods (Mono.Cecil.TypeDefinition type) (at C:/buildslave/unity/build/Editor/Mono/Utils/AssemblyReferenceChecker.cs:139)
    UnityEditor.AssemblyReferenceChecker.CollectReferencedAndDefinedMethods (IEnumerable`1 assemblyDefinitions) (at C:/buildslave/unity/build/Editor/Mono/Utils/AssemblyReferenceChecker.cs:117)
    UnityEditor.AssemblyReferenceChecker.CollectReferences (System.String path, Boolean collectMethods, Single progressValue, Boolean ignoreSystemDlls) (at C:/buildslave/unity/build/Editor/Mono/Utils/AssemblyReferenceChecker.cs:110)
    UnityEditor.AssemblyReferenceChecker.GetScriptsHaveMouseEvents (System.String path) (at C:/buildslave/unity/build/Editor/Mono/Utils/AssemblyReferenceChecker.cs:250)
    UnityEditor.HostView:OnGUI()
     
  2. hellobard

    hellobard

    Joined:
    Sep 26, 2012
    Posts:
    138
    I'm having problems building too. I don't get any errors though, it just doesn't do anything when I click Build (and set where to save)
     
  3. Mangler2010

    Mangler2010

    Joined:
    Jan 14, 2013
    Posts:
    5
    If you are using the Windows Store build, be sure your build location is within your project directory. That is a known bug at the moment.
     
  4. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    2,753
    Hi Mangler2010,
    Could you please file a bug report for that and reply with the case # in this thread?
     
  5. Mangler2010

    Mangler2010

    Joined:
    Jan 14, 2013
    Posts:
    5
    Done, Case 836908
     
unityunity