Unity报错之UnityException: Texture ‘XXX‘ is not readable

Posted 爱上游戏开发

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Unity报错之UnityException: Texture ‘XXX‘ is not readable相关的知识,希望对你有一定的参考价值。

问题

UnityException: Texture ‘img2’ is not readable, the texture memory can not be accessed from scripts. You can make the texture readable in the Texture Import Settings.

解决

以上是关于Unity报错之UnityException: Texture ‘XXX‘ is not readable的主要内容,如果未能解决你的问题,请参考以下文章

Unity 报错之 打包安卓闪退 Could not allocate memory: System out of memory

Unity 报错之 打包安卓闪退 Could not allocate memory: System out of memory

Unity 报错之 接入YomboTGSDK后打包报错:mainTemplate.gradle needs to be updated(property ‘unityStreamingAssets‘)

Unity 报错之 接入YomboTGSDK后打包报错:mainTemplate.gradle needs to be updated(property ‘unityStreamingAssets‘)

Unity报错之 No Sprite Editor Window registered. Please download 2D Sprite package from Package Manager.

Unity 报错之 Scope was not disposed, You should use the ‘using‘ keyword or manually call Dispose.