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

`UnityEngine.HoloLens' has already been imported (Unity 5.5f2)

Discussion in 'Unity Build Automation' started by chandler55, Nov 29, 2016.

  1. chandler55

    chandler55

    Joined:
    Jun 8, 2010
    Posts:
    17
    I'm getting this error when I switched to 5.5f2 on the cloud build

    [Unity] error CS1704: An assembly with the same name `UnityEngine.HoloLens' has already been imported. Consider removing one of the references or sign the assembly
    [Unity] /UNITY_PATH/Unity/Unity-5_5_0f2/Unity.app/Contents/UnityExtensions/Unity/UnityHoloLens/Runtime/UnityEngine.HoloLens.dll (Location of the symbol related to previous error)
    [Unity] /UNITY_PATH/Unity/Unity-5_5_0f2/Unity.app/Contents/UnityExtensions/Unity/UnityHoloLens/RuntimeEditor/UnityEngine.HoloLens.dll (Location of the symbol related to previous error)

    any ideas? for both android/ios builds, thanks
     
  2. dannyd

    dannyd

    Unity Technologies

    Joined:
    Jun 3, 2014
    Posts:
    785
    Did you happen to check a HoloLens.dll into your repo? If not, maybe try using 5.5.0f3 now that it is released.
     
  3. chandler55

    chandler55

    Joined:
    Jun 8, 2010
    Posts:
    17
    hmm dont think so but i did check in the library folder which I probably shouldnt have. removed them from the repo and its fine now thanks!