[Unity][ILRuntime][C#]热更新运行官方示例U3D项目报错
下载ILRuntimeUnity3D项目,项目版本Unity 2020
解压后,用unity打开
unity 2019.4.19f1c1
报错
Library\PackageCache\com.unity.collab-proxy@1.3.9\Editor\UserInterface\Bootstrap.cs(23,20): error CS0117: 'Collab' does not contain a definition for 'ShowChangesWindow'
Project视图搜索Bootstrap,属于Unity Collaborate插件。
Project-Packages-Unity Collaborate
PackageManager搜索Unity Collaborate,Remove
Library\PackageCache\com.unity.upm.develop@0.3.0\Editor\Toolbar\DevelopTools.cs(46,50): error CS0246: The type or namespace name 'UIError' could not be found (are you missing a using directive or an assembly reference?)
Project视图搜索DevelopTools,属于Package Development插件。
PackageManager搜索Package Development,Remove
Library\PackageCache\com.unity.textmeshpro@3.0.4\Scripts\Editor\TMP_PackageUtilities.cs(1007,84): error CS0103: The name 'VersionControlSettings' does not exist in the current context
Project视图搜索TMP_PackageUtilities,属于TextMeshPro插件。
PackageManager搜索TextMeshPro,Remove
Assets\Samples\ILRuntime\1.6.7\Demo\Scripts\Examples\11_ValueTypeBinding\Vector2Binder.cs(40,33): error CS0227: Unsafe code may only appear if compiling with /unsafe. Enable "Allow 'unsafe' code" in Player Settings to fix this error.
File-Builde Settings-PlayerSettings
Assets\XLua\Gen\XLuaGenAutoRegister.cs(326,66): error CS0426: The type name 'RenderRequest' does not exist in the type 'Camera'
Assets\XLua
删除XLua文件夹
Assets\Samples\ILRuntime\1.6.7\Demo\Scripts\Examples\12_Performance\Performance.cs(10,7): error CS0246: The type or namespace name 'XLua' could not be found (are you missing a using directive or an assembly reference?)
删除Performance.cs文件
Assets\Samples\ILRuntime\Generated\Performance_Binding.cs(24,40): error CS0400: The type or namespace name 'Performance' could not be found in the global namespace (are you missing an assembly reference?)
删除Performance_Binding.cs文件
Assets\Samples\ILRuntime\Generated\CLRBindings.cs(37,13): error CS0103: The name 'Performance_Binding' does not exist in the current context
CLRBindings.cs打开,第37行注释掉
//Performance_Binding.Register(app);
运行官方示例场景
Assets\Samples\ILRuntime\1.6.7\Demo\_Scenes\Examples
01_HelloWorld场景,运行
正常显示
02_Invocation场景,运行
正常显示
参考资料:
1.ILRuntimeU3D
2.
3.
[Unity][ILRuntime][C#]热更新运行官方示例U3D项目报错相关推荐
- mac运行npm run dev项目报错:sh: /Users/edy/Desktop/abc/pc/node_modules/.bin/webpack-dev-server: Permission
原因:项目运行在mac没有权限: 解决:打开mac终端,输入: chmod 777 /Users/edy/Desktop/abc/pc/node_modules/.bin/webpack-dev-se ...
- Unity中的热更新的基础知识,Xlua与ILRuntime基础知识
1.什么是热更新 热更新是指在不需要重新编译打包游戏的情况下,在线更新游戏中的一些非核心代码和资源,比如活动运营和打补丁.热更新分为资源热更新和代码热更新两种,代码热更新实际上也是把代码当成资源的一种 ...
- 初学者学习 - Unity中的热更新 - Lua和C#通信
菜鸟学习 - Unity中的热更新 - Lua和C#通信 孙广东 2015-4-6 热更新我是个菜鸟,感谢网上的各位的奉献,这次又当一回搬运工. 准备: 1.了解Lua的语法 推荐书籍<Lua程 ...
- iOS问题记录 - Xcode 14.3版本运行项目报错
文章目录 前言 开发环境 问题描述 问题分析 解决方案 最后 前言 看到Xcode有新版本,没忍住点了升级,然后问题来了. 2023/04/23更新:关于Xcode 14.3版本目前涉及到的三个问题, ...
- 导入maven项目报错无法运行
1.问题 导入maven项目报错无法运行 2.原因 代码有问题不是最新代码 3.解决 更新项目git pull再次导入
- iOS-bug Xcode 14.3版本运行项目报错File not found: /Applications/Xcode.app/Contents/Developer/...
File not found: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeD..... 解决方法 1.下载arc目录解压后复 ...
- python爬虫运行正常最后报错_Python爬虫运行正常,最后却报错
问题: Python爬虫运行正常,最后却报错 描述: 刚学Python,不明白,特来请教. 程序是爬取贴吧某个地址的图片,运行正常,图片也都下载下来了. 代码如下:import urllib.requ ...
- 首次使用eclipes运行项目报错“Java.lang.ClassNotFoundException”
首次使用eclipes运行项目报错"Java.lang.ClassNotFoundException" 运行项目时提示: 解决方法: 1.点击菜单-Project-Build Au ...
- 解决Windows下运行php Composer出现SSL报错的问题
解决Windows下运行php Composer出现SSL报错的问题 2015-01-14 20:05 在windows下运行composer却出现SSL报错: E:\www>php -f co ...
最新文章
- 如何使用拦截器获取Controller方法名和注解信息?
- php 类 init,基于initPHP的框架介绍
- 无法监控端口_如何使用snmp监控linux服务器
- Android提权漏洞CVE-2014-7920CVE-2014-7921分析
- Spring MVC:资源
- 再谈 Linux下的nanosleep函数
- [设计模式-结构型]外观模式(Facade)
- js获取浏览器版本或者类别
- 数据结构研究 ----单链表的按序号查找
- FileStream对象的使用
- poythoncode-实战5--excel 文件读取,文本文件,csv文件,存到系统中以大列表方式进行存储
- NBU备份速度快慢调整
- 《老路用得上的商学课26—30》经济模式
- 最新2022中国大学排名发布!
- 基于Java+Springboot+Vue校园志愿者管理系统设计与实现
- 论文中常用的对word页眉页脚的操作
- 笔记本合上盖子锁定计算机,解决:win10笔记本电脑不合上盖子时也锁定
- ubuntu 更换系统源和pip源
- Mac如何输入特殊符号
- [电脑]电脑面前的自我保护
热门文章
- 会议室预定管理系统_企业应用会议室智能预约管理系统有哪些好处
- 学区房 | 入学要求房产面积大于60平的小学周边有多少小区
- Unity Asset Store更新!
- 详解APS软件中可视化的计划排程
- IOS开发Swift——开发小知识(持续更新)
- 尽吾力,而不能至者,可以无悔矣(NOIP2018游记)
- 车辆工程专业/鼓式制动器/盘式制动器/制动系统/电磁制动器……毕业设计题目推荐
- 教学|Zbrush中凹凸贴图、法线贴图和置换贴图的区别
- iOS动画进阶(五)变换
- Python—CRC校验码,计算2进制校验数据的校验码