当前位置:网站首页>Unity版本升级问题总结
Unity版本升级问题总结
2022-07-31 05:18:00 【叶大锅】
Unity版本升级问题总结
1.优先解决与当前版本差异性过大的插件,升级2D Animation至适配最新版,删除以前的版本,然后重新加载项目以解决IK对Animation和Common的冲突。
2.修复与版本冲突的API ;修复原则1.引用少的,不影响程序的暂时先注释2.引用较多的,重写应用的方法,参照2018的方法输出。
3.修复运行过程中的bug;1.MagicText升级到2020版本后的bug定位与修复2.traveller下修复skin必要的canvasRenderer组件3.AstarPath中OnDrawGizmos方法绘制网格与scene面板冲突,注释掉报错的方法函数。
4.ToLua 执行Generate ALL失败,2020下某些函数方法执行冲突,不被允许。
问题1
问题点:
2D Animation1.0.4的版本不满足Unity2020.3.12
解决方案:
过时的插件包需要更新,下载最新的2D Animation Package
问题2
问题点:
error CS0234: The type or namespace name ‘Common’ does not exist in the namespace ‘UnityEngine.U2D’ (are you missing an assembly reference?)IK对Animation和Common的冲突
解决方案:
重启工程!!!
问题3
问题点:
error CS0034: Operator ‘+=’ is ambiguous on operands of type ‘Vector4’ and ‘Vector2’ 2020API和2018API冲突
解决方案:
按照2020的API方法修改并替换为Vector4
问题4
问题点:
error CS0619: ‘MovieTexture’ is obsolete: ‘MovieTexture is removed. Use VideoPlayer instead.’方法过时
边栏推荐
猜你喜欢

MySQL free installation download and configuration tutorial

Wangeditor rich text editor to upload pictures and solve cross-domain problems

Cholesterol-PEG-Thiol CLS-PEG-SH Cholesterol-Polyethylene Glycol-Sulfhydryl

Cholesterol-PEG-NHS NHS-PEG-CLS cholesterol-polyethylene glycol-active ester can modify small molecular materials

MySQL 入门:Case 语句很好用

mPEG-DSPE 178744-28-0 甲氧基-聚乙二醇-磷脂酰乙醇胺线性PEG磷脂

Software Testing Interview Questions 2021

box-shadow相关属性

十分钟教你玩转分支语句!!!!!小白速进,新手福利!!

浏览器中的画中画(Picture-in-Picture)API
随机推荐
ROS之service传输图片
crontab timing operation
Research reagents Cholesterol-PEG-Maleimide, CLS-PEG-MAL, Cholesterol-PEG-Maleimide
2022年SQL大厂高频实战面试题(详细解析)
钉钉H5微应用免登鉴权
Pytorch learning notes 09 - multiple classification problem
DSPE-PEG-Azide DSPE-PED-N3 磷脂-聚乙二醇-叠氮脂质PFG
【Rhapsody学习笔记】3:Dishwasher
力扣.剑指offer05.替换空格
DSPE-PEG-Thiol DSPE-PEG-SH phospholipid-polyethylene glycol-thiol liposome for later use
Pytorch学习笔记7——处理多维特征的输入
拒绝采样小记
Log jar package conflict, and its solution
螺旋矩阵Ⅱ
Shell/Vim相关list
力扣.找到打字符串中所有字母异位词
Tensorflow related list
Where can I find the private files set by myself?
2021年软件测试面试题大全
CAS:474922-22-0 Maleimide-PEG-DSPE 磷脂-聚乙二醇-马来酰亚胺简述