MissingReferenceException: The object of type 'Texture2D' has been destroyed but you are still tryi
2014-02-17 20:53
1141 查看
MissingReferenceException: The
object of type 'Texture2D' has been destroyed but you are still trying to access it.
在unity上用NGUI为一个已生成的Atlas添加素材时,出现这个bug,很有可能是因为你的Texture
Atlas的Texture在编译设置那设置了压缩解码。(最少我是。。。)
解决这bug的办法就是取消掉
在untiy上点击菜单上的NGUI点AtlasMaker,Select你的TextureAtlas再点击Select下面的Texture。
再邮编右边的Inspector的最下方的OverrideForiPhone取消。接着就可以继续添加了
object of type 'Texture2D' has been destroyed but you are still trying to access it.
在unity上用NGUI为一个已生成的Atlas添加素材时,出现这个bug,很有可能是因为你的Texture
Atlas的Texture在编译设置那设置了压缩解码。(最少我是。。。)
解决这bug的办法就是取消掉
在untiy上点击菜单上的NGUI点AtlasMaker,Select你的TextureAtlas再点击Select下面的Texture。
再邮编右边的Inspector的最下方的OverrideForiPhone取消。接着就可以继续添加了
相关文章推荐
- The object of type 'RectTransform' has been destroyed but you are still trying to access it
- Source insight上修改samba共享ubuntu上内核源程序文件出现"Confirm by typing ‘yes' below"、"has been changed outside of the editor. Do you want to
- An exception has been caught while processing the refactoring 'Delete'.
- Unity 中常见错误之一UnassignedReferenceException: The variable button of CityScript has not been assigned.
- 出现 Assigning the return value of new by reference is deprecated in xxxx &&“Warning: Call-time pass-by-reference has been deprecated”怎么办?
- TypeError: object of type 'NoneType' has no len()
- variable 'std:ofstream' has initializer but incomplete type 错误
- System.Security.SecurityException: Request for the permission of type 'System.Web.AspNetHostingPermi
- The introduction to Reactive Programming you've been missing
- Variable 'X' is used before it has been assigned a value. A null reference exception could result at runtime.
- 如何解决The type or namespace name 'ScriptService' could not be found (are you missing a using directive or an assembly reference?)
- Rails Error: rails a copy of has been removed from the module tree but is still active
- Bean property 'RegDao' is not writable or has an invalid setter method. Does the parameter type of t
- The base class includes the field '...', but its type (...) is not compatible with the type of control (...)
- There is no ViewData item of type 'IEnumerable<SelectListItem>' that has the key ''.
- The authenticity of host 'www.101du.net (60.210.17.34)' can't be established. RSA key fingerprint is xxxx. Are you sure you want
- The type or namespace name `MovieTexture' could not be found. Are you missing an assembly reference?
- net.sf.json.JSONException: Found starting '{' but missing '}' at the end. at character 0 of null
- variable 'std:ofstream' has initializer but incomplete type
- python __def__ Exception AttributeError: "'NoneType' object has no attribute