当前位置:网站首页>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.’方法过时
边栏推荐
- Introduction to CLS-PEG-FITC Fluorescein-PEG-CLS Cholesterol-PEG-Fluorescein
- UR3机器人雅克比矩阵
- Cholesterol-PEG-NHS NHS-PEG-CLS 胆固醇-聚乙二醇-活性酯可修饰小分子材料
- ROS之service编程的学习和理解
- The content of the wangeditor editor is transferred to the background server for storage
- 【Rhapsody学习笔记】4:Relations
- DingTalk Enterprise Internal-H5 Micro Application Development
- 解决background-size:cover时图片铺满但显示不完整?
- 虚拟机查看端口号进程
- CSDN上markdown编写的一些便捷操作
猜你喜欢

MySQL free installation download and configuration tutorial

超详细!!!让你了解冒泡排序的底层逻辑和思想

【Rhapsody学习笔记】2:Count Down

wangeditor富文本编辑器上传图片以及跨域问题解决

map和set

Cholesterol-PEG-DBCO Cholesterol-Polyethylene Glycol-Diphenylcyclooctyne Chemical Reagent

DSPE-PEG-Azide DSPE-PED-N3 磷脂-聚乙二醇-叠氮脂质PFG

PyTorch学习笔记08——加载数据集

ImportError: cannot import name ‘Xxxx‘ from partially initialized module ‘xx.xx.xx‘

Fluorescein-PEG-DSPE 磷脂-聚乙二醇-荧光素荧光磷脂PEG衍生物
随机推荐
CLS-PEG-FITC Fluorescein-PEG-CLS 胆固醇-聚乙二醇-荧光素简介
2022 SQL big factory high-frequency practical interview questions (detailed analysis)
Embedding cutting-edge understanding
【Rhapsody学习笔记】3:Dishwasher
Where can I find the private files set by myself?
力扣.三数之和/四数之和
虚拟机查看端口号进程
Phospholipids-Polyethylene Glycol-Active Esters for Scientific Research DSPE-PEG-NHS CAS: 1445723-73-8
CAS:474922-22-0 Maleimide-PEG-DSPE Phospholipid-Polyethylene Glycol-Maleimide Brief Description
Pytorch learning notes 09 - multiple classification problem
钉钉H5微应用免登鉴权
MySQL 主从切换步骤
Fluorescein-PEG-DSPE Phospholipid-Polyethylene Glycol-Fluorescein Fluorescent Phospholipid PEG Derivatives
力扣刷题.快乐数
Wangeditor rich text editor to upload pictures and solve cross-domain problems
Learning and understanding of ROS service programming
IDEA控制台不能输入信息的解决方法
Shell/Vim related list
Tensorflow——演示
C语言对文件的操作(完整版)