从老项目升级为2021高版本之后报了个错 大概就是…
the type 'iwindowsiap' exists in both 'unityengine.purchasing.winrtcore, version=0.0.0.0,
这种 具体的我也没粘贴全部过来
原因貌似是 PackManger里面的IPA包和项目自带的冲突了
解决方法:
删除项目文件夹下面的:


这些Dll
然后还会报个错 ,那个是版本更新API了
打开PurchaseManager
增加一行:
public void OnInitializeFailed(InitializationFailureReason error, string message)
{
throw new NotImplementedException();
}
就可以了









![八路参考文献:[八一新书]许少辉.乡村振兴战略下传统村落文化旅游设计[M]北京:中国建筑出版传媒,2022.](https://img-blog.csdnimg.cn/6d7d4ae959e24fd2bbee95c897fc7549.jpeg#pic_center)









