原文:http://blog.csdn.net/wolf96/article/details/38363161

官方是这么解释的

http://issuetracker.unity3d.com/issues/camera-with-depth-only-or-dont-clear-throws-error-when-image-effects-are-applied?page=2#comments

Camera with image effects throws error when certain game view aspect ratios are used

To reproduce:
1. Create a camera with Clear Flags set to "Depth Only" or "Don't Clear"
2. Attach an image effect to the camera
3. Set the game window scale to 16:9
4. Enter game mode. Try resizing the game window
5. "rect[2] == rt->GetGLWidth() && rect[3] == rt->GetGLHeight()" appears in the console

Does not occur with version 4.2.2f1
Seems to be related mostly to the aspect ration of the game view and the image effects.

does not occur if game view is undocked

大概是说

1。创建一个相机设置为"Depth Only"或"Don't Clear"
2。附加摄像机的图像效果
3。游戏窗口范围设置为16:9
4。进入游戏模式。调整游戏窗口

。。。

解决方法:

在game面板中分辨率调成free,也许会好。。-  -

或许 目前临时的解决方法是,将Editor的布局Layout改回默认设置,错误信息将不再出现。

这个错误只在unity中发生,不会在打包出的游戏中发生

最新文章

  1. Java中四种引用:强、软、弱、虚引用
  2. docker快速启动脚本
  3. CentOS7 增加tomcat 启动,停止,使用systemctl进行配置
  4. iOS 使用AFNetworking遇到异常 Request failed: unacceptable content-type: text/html
  5. 几个简单的html+css+js题目
  6. django apache 通过wsgi部署
  7. 第三方框架、AFN、ASI、SDWebImage
  8. CentOS Gnome 识别 NTFS-3G
  9. Go 从入门到精通(三)字符串,时间,流程控制,函数
  10. centos7 系统安装问题汇总
  11. ACCESS_ONCE
  12. 随机四则运算的出题程序java
  13. How to Change Error Message Colors in Windows 10 PowerShell Console
  14. 微信小程序用户信息解密失败导致的内存泄漏问题。
  15. ACL(Access Control List)
  16. string转可空类型
  17. TestNg失败重试机制
  18. SDWebImage代码赏析
  19. Eureka 注册中心 简单搭建
  20. Python :数据结构

热门文章

  1. 应对新型“蠕虫”式比特币勒索软件“wannacry”的紧急措施
  2. Web性能压力测试工具之WebBench
  3. 为python 添加新功能-dump
  4. JavaScript高级 面向对象(13)--构造函数的执行过程
  5. [Linux实用工具]Linux监控工具munin的安装和配置
  6. 非常有用的15个Linux 服务器监控命令
  7. [转]C# RichTextBox不用滚动条
  8. MVC教程九:异常过滤器
  9. 微信小程序——收起和查看更多功能
  10. 点击input 禁止手机自带键盘弹出