Unity3d Error---Build failed : Asset is marked as don't save
来源:互联网 发布:c语言是怎么开发出来的 编辑:程序博客网 时间:2024/06/15 05:08
In a script I had:
- public class RoadManager : MonoBehaviour{
- public GUIStyle centerStyle;
- public GUIStyle RCP_LabelStyle;
- public GUIStyle RCP_PlusStyle;
- }
and in and Editor Script I did something like this
- roadmanger.centerstyle = EditorStyles.bold;
- //Modified some attributes, etc etc
this saved editor information into a the object, and internal graphics, and referances to other editor info. I still want to keep these referances for my Custom inspector, so I did this to make it so the info doesn't come into a build
- public class RoadManager : MonoBehaviour{
- #if UNITY_EDITOR
- public GUIStyle centerStyle;
- public GUIStyle RCP_LabelStyle;
- public GUIStyle RCP_PlusStyle;
- #endif
- }
Hopes this saves someone the headache i went through :)
- Unity3d Error---Build failed : Asset is marked as don't save
- [cnblogs镜像]Unity "Build failed : Asset is marked as don't save " 解决方案
- table_name' is marked as crashed and last (automatic?) repair failed
- Unity 解决 An asset is marked with HideFlags.DontSave but is included in the build 问题。
- An asset is marked with HideFlags.DontSave but is included in the build:
- An asset is marked with HideFlags.DontSave but is included in the build
- An asset is marked with HideFlags.DontSave but is included in the build 解决方法
- unity 项目build 的时候后报错An asset is marked with HideFlags.DontSave but is included in the build:
- unity 项目build 的时候后报错An asset is marked with HideFlags.DontSave but is included in the build:
- Unity-APk 错误:An asset is marked dont save UnityEditor.HostView:OnGUI() unsupported data on target p
- 打包的时候报错 An asset is marked with HideFlags.DontSave but is included in the build的解决办法
- mysql table is marked as crashed and last (automatic?) repair failed
- Table 'table_name' is marked as crashed and last (automatic?) repair failed解决办法
- Mysql Table './tablename' is marked as crashed and last (automatic?) repair failed 错误解决办法
- mysql table is marked as crashed and last (automatic?) repair failed
- Table 'xxx'is marked as crashed and last (automatic) repair failed
- MySql5.0 Table错误is marked as crashed and last (automatic) repair failed
- AS build:Error:Execution failed for task ':app:compileArmDebugAidl'
- 程序员何去何从
- Android设计模式之适配器模式
- 【三】 基本类型 转换 包装类
- Crowd 2.7汉化中文包(原创)
- 使用《红孩儿工具箱》开发基于Cocos2d-x的《坦克大战》游戏
- Unity3d Error---Build failed : Asset is marked as don't save
- C++ 用libcurl库进行http通讯网络编程
- Backbone.js 官方example
- 山寨腾讯“爱消除”游戏7日教程--DAY6
- Linux Epoll介绍和程序实例
- java中的包压缩为jar文件
- zstu 2426 大范围内素数判断(这里用 Miller_Rabin 进行判定)
- 生成11位号码
- hdu 4494 Teamwork 网络流