码迷,mamicode.com
首页 > 编程语言 > 详细

Unity bug: transform.position assign attempt for 'SceneCamera' is not valid. Input position is { NaN, NaN, NaN }. UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

时间:2017-12-21 19:38:27      阅读:344      评论:0      收藏:0      [点我收藏+]

标签:gpo   UI   event   blog   pos   seve   nan   tor   position   

问题:

Unity 报错: 

transform.position assign attempt for ‘SceneCamera‘ is not valid. Input position is { NaN, NaN, NaN }.

UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

 

解决方法:

改变Unity editor 布局(layout)可以解决这个奇怪的问题。

技术分享图片

 

Unity bug: transform.position assign attempt for 'SceneCamera' is not valid. Input position is { NaN, NaN, NaN }. UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

标签:gpo   UI   event   blog   pos   seve   nan   tor   position   

原文地址:http://www.cnblogs.com/MaxineJiang/p/8081947.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!