從老項目升級為2021高版本之后報了個錯 大概就是…
the type 'iwindowsiap' exists in both 'unityengine.purchasing.winrtcore, version=0.0.0.0,
這種 具體的我也沒粘貼全部過來
原因貌似是 PackManger里面的IPA包和項目自帶的沖突了
解決方法:
刪除項目文件夾下面的:
這些Dll
然后還會報個錯 ,那個是版本更新API了
打開PurchaseManager
增加一行:文章來源:http://www.zghlxwxcb.cn/news/detail-684381.html
public void OnInitializeFailed(InitializationFailureReason error, string message)
{
throw new NotImplementedException();
}
就可以了文章來源地址http://www.zghlxwxcb.cn/news/detail-684381.html
到了這里,關于Unity 從2018升級為2021之后 IAP(內購插件)報錯解決的文章就介紹完了。如果您還想了解更多內容,請在右上角搜索TOY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關文章,希望大家以后多多支持TOY模板網(wǎng)!