软件版本:
Vuforia 6.2.10
Unity 2018.3.14f1
源工程项目是2018.2.11f1的,其中Vuforia的版本为6.2.10,因为安卓导出的发布目标版本需要升级为API 28的支持,需要升级Unity的使用版本,故从Unity2018.2.11f1升级到Unity2018.3.14f1。升级后,打开工程出现了如下问题:
提示Vuforia 中的Unzipper脚本出错了,错误为:The name `Unzip' does not exist in the current context
解决方法如下:
1、双击打开脚本所在位置,找到下图所示的位置,把其中 return Unzip.Unzip(path, fileNameinZip);
改成 return Unzipper.Instance.UnzipFile(path, fileNameinZip);
2、正确如下图,保存后,问题解决