UnityEditor.UI.dll' is in timestamps but is not known in assetdatabase

网上找到一篇文章:

一、Remove the UI System
1、Close Unity
2、Access on Unity's installation folder on Explorer or Finder on mac (On mac rightclick on the App and click on ShowPackageContent).
3、Locate the folder named "UnityExtensions/Unity". (On Mac: "Content/UnityExtensions/Unity".
4、In this folder you will notice a folder named "GUISystem"
5、Move this folder from the installation folder (you may need administrator rights). Yes, right. Do not just rename it or move it out the "Unity" folder, Unity will find it... I assure you...
二、Have Unity notice the change
1、Open Unity again in the project you had the issue
2、You may have an error "GameObject (named 'Canvas') references runtime script in scene file. Fixing!"
3、Close Unity, DO NO SAVE ANY SCENE
三、Restore the UI System
1、Make sure Unity is closed
2、Restore the "GUISystem" to its previous location
3、Open Unity again
4、Unity will compile script
5、You will see the warning "Timestamps (19) and assets (21) maps out of sync." and the errors "Asset '' is in assets but has no assettimestamp..." just ignore them
6、Everything should be ok again

翻译一下就是:

1、关闭Unity

先找到UnityExtensions/Unity下的GUISystem目录,删除它,一定要删除,不要移动到别的文件夹

2、打开Unity

出现"GameObject(named ‘Canvas‘)的错误信息,修复它,关闭Unity

3、再从回收站将GUISystem恢复到原来目录

从新打开Unity即可

UnityEditor.UI.dll' is in timestamps but is not known in assetdatabase

时间: 2024-10-12 22:02:03

UnityEditor.UI.dll' is in timestamps but is not known in assetdatabase的相关文章

UGUI源码调试

前几天,Unity4.6的正式版终于发布了,随之而来的还有UGUI的源代码开放.之前用惯了NGUI,只要发现NGUI中有功能不够用的地方,就会立即去改它的源代码,发现不好理解的地方也会调试进NGUI的源码.现在换成UGUI,也需要有调试源码的功能,才能更好地理解UGUI的体系.花了大半天时间,终于实现调试UGUI代码的方法. 首先下载Unity4.6的正式版,再到BitBucked拉取UGUI的代码 注意如果之前有4.6的试用版的话,需要先把试用版卸载,因为它和BitBucked上最新的代码不兼

如何使用vs2012单步调试uGUI(unity3d 5.3f4)

下载uGUI源代码 uGUI源代码地址:https://bitbucket.org/Unity-Technologies/ui 下载代码工具:tortoisehg-3.6.2-x64.msi http://pan.baidu.com/s/1jGQaAuM 使用自己编译的uGUI 1.首选下载uGUI代码,如何下载参考相关文档. 2.使用vs2012打开解决方案UISystem.sln,看到三个工程. UnityEditor.UI工程:生成Edtior/UnityEditor.UI.dll,主要是

[UGUI]你说UnityEngine.UI.Button是怎么通过拖动来增加OnClick的监听器的呢?

一.写在前面 按国际惯例,先来讲一讲怎么涉及到这里了.我希望一个UI模块在Awake场景加载之后就可以通过回调来响应服务器消息,但是因为这个模块在场景加载的时候并不会被激活,所以需要将事件的订阅提前到该模块被加载之前,这就让我想起来了UGUI的Button的onClick事件,既然如此那就让我们一起来发现真相把. 二.真相就在这里! 首先呢,UGUI是开源的,要看源码啊,就不得不推荐Resharper了,这个插件有一个Assembly Explorer的东西,可以看到dll中的内容.下面就是Bu

Unity 安卓下DLL热更新一(核心思想)

大家都知道一谈起热更新的话首选是Ulua这个插件, 其实Unity可以使用dll热更新的,如果你实在不想用Lua来编写逻辑,0.0请下看Dll+AssetBundle如何实现热更新的.让你看完这个文章之后只是认识DLL热更新的方式和概念,掌握热更新的实战框架还需要你自己=.=   我们通常的做法是编译成的DLL打成AssetBundle文件, Unity通过WWW下载AB文件获取里面DLL.通过反射的方式把里面的C# 组件绑定到GameObject游戏物体上面,这就是DLL热更新的原理. 假设项

DevExpress 编译成功的 dll

DevExpress 编译成功的 dll 其它的有些文件没有,如: DevExpress.EasyTest 这个程序集找不到 希望有的朋友可以分享一下, 1 "D:\Development\DevExpress\Bin\Framework\DevExpress.BonusSkins.v14.2.dll" 2 "D:\Development\DevExpress\Bin\Framework\DevExpress.Charts.v14.2.Core.dll" 3 &qu

Emgu学习之(二)——图像读取、显示、保存

visual Studio Community 2015 工程和源代码:http://pan.baidu.com/s/1o6u5Fdw 内容 在这篇文章中将提到以下内容: 从文件中读取图像 Image类 显示图像 保存图像 在上一篇文章Emgu学习之(一)——Emgu介绍中,我介绍了如何创建Emgu的工程,但是上一个Demo使用的是OpenCV的HighGUI窗体显示图像,这一 次我们要用WinForm窗体显示图像,并将图像进行操作后另存为新的图像文件.首先我们要做的是在Visual studi

ChartConlrol二维图表类型

WinForms Controls >Controls > Chart Control > Concepts > Creating Charts > 2D Chart Types The XtraCharts suite provides a wide variety of different 2D chart types (also calledview types) which give you the ability to display data as any of

【C#】【转】SharpSVN的官方使用方法参考

SharpSvn Tutorial Table Of Contents Introduction and Prerequisites Setting the project up Getting Started With the SharpSVN API Using the SvnClient Class to Perform Some Common SVN operations svn checkout svn commit svn proplist svn propset Getting H

Unity 编译apk启动出异常

问题:unity 编译出来的apk,在android安装启动,时报以下错误: 07-06 20:52:48.282: E/linker(18229): load_library(linker.cpp:761): library "/data/app/com.xsj.getphoneinfo-1.apk/assets/bin/Data/Managed/UnityEngine.dll.so" not found07-06 20:52:48.430: E/linker(18229): loa