我试着用Vuforia和Unity,但是我遇到了一些错误:
错误CS1704:已经导入了同名为
Vuforia.UnityExtensions.Editor' has already been imported. Consider removing one of the references or sign the assembly C:/Program Files/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 nameVuforia.UnityExtensions‘的程序集。考虑删除其中一个引用或对程序集C:/ProgramFiles/Unity/Editor/Data/PlaybackEngines/VuforiaSupport/Managed/Runtime/Vuforia.UnityExtensions.dll(与先前错误相关的符号的位置) Files/Unity/Editor/Data/PlaybackEngines/VuforiaSupport/Managed/Runtime/Vuforia.UnityExtensions.dll (与先前错误相关的符号的位置)进行签名。
编译失败:2错误,0警告
下面是控制台日志的屏幕截图:

发布于 2018-07-17 10:09:31
旧的Vuforia插件正在干扰新的插件。
1.Close Unity
2.Delete当前Vuforia插件文件夹位于<ProjectDirectory>/Assets/Vuforia的任何其他Vuforia相关文件夹或文件在您的项目中。
安装Vuforia集成版本:
统一集成Vuforia引擎在他们的引擎在2017.2版本,这是唯一的一个,你现在应该使用。
3.Run当前统一版本的"UnityDownloadAssistant.exe“。只有选择"Vuforia增强现实支持“,然后安装在您的统一版本之上。

4.You现在可以打开统一。现在,您将在GameObject菜单下看到Vuforia选项。您不再需要插件在项目中。

5.Finally,通过进入文件->构建设置启用Vuforia .->播放器设置-> XR设置和检查"Vuforia增强现实支持“复选框。

https://stackoverflow.com/questions/51377634
复制相似问题