一碗白菜豆腐 2018-05-05 03:01 采纳率: 44.4%
浏览 2989
已采纳

unity引用vuforia-unity-6-2-10出错

error CS1704: An assembly with the same name Vuforia.UnityExtensions.Editor' has already been imported. Consider removing one of the references or sign the assembly
F:/unity-2018.1/Unity/Editor/Data/PlaybackEngines/VuforiaSupport/Managed/Editor/Vuforia.UnityExtensions.Editor.dll (Location of the symbol related to previous error)
Assets/Vuforia/Editor/Scripts/Vuforia.UnityExtensions.Editor.dll (Location of the symbol related to previous error)
error CS1704: An assembly with the same name
Vuforia.UnityExtensions' has already been imported. Consider removing one of the references or sign the assembly
F:/unity-2018.1/Unity/Editor/Data/PlaybackEngines/VuforiaSupport/Managed/Runtime/Vuforia.UnityExtensions.dll (Location of the symbol related to previous error)
Assets/Vuforia/Scripts/Internal/Vuforia.UnityExtensions.dll (Location of the symbol related to previous error)

Compilation failed: 2 error(s), 0 warnings

  • 写回答

2条回答 默认 最新

  • BMKB 2018-05-05 03:15
    关注

    unity中有vuforia的dll包,删除这个路径F:/unity-2018.1/Unity/Editor/Data/PlaybackEngines/VuforiaSupport/Managed/Editor/Vuforia.UnityExtensions.Editor.dll (Location of the symbol related to previous error)
    Assets/Vuforia/Editor/Scripts/Vuforia.UnityExtensions.Editor.dll下的文件重新生成一遍在引用试试,有时候在引用时引用了两遍就会出现这种情况。

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?