

NullReferenceException: Object reference not set to an instance of an object
,4 年前
发布于技术支持
0
问题描述
这个报错是什么意思 我知道我有东西没赋值,但我实在找不到在哪 NullReferenceException: Object reference not set to an instance of an object UnityEditor.PreviewWindow.RebuildContentsContainers () (at <ef86fff016ff46349a3dd1183fd177bf>:0) UnityEditor.InspectorWindow.RedrawFromNative () (at <ef86fff016ff46349a3dd1183fd177bf>:0) UnityEditor.PropertyEditor:OnEnable() UnityEditorInternal.InternalEditorUtility:LoadSerializedFileAndForget(String) UnityEditor.WindowLayout:LoadDefaultWindowPreferences()
Unity版本2020.3.20
平台 3D
相关代码
错误日志
NullReferenceException: Object reference not set to an instance of an object UnityEditor.PreviewWindow.RebuildContentsContainers () (at <ef86fff016ff46349a3dd1183fd177bf>:0) UnityEditor.InspectorWindow.RedrawFromNative () (at <ef86fff016ff46349a3dd1183fd177bf>:0) UnityEditor.PropertyEditor:OnEnable() UnityEditorInternal.InternalEditorUtility:LoadSerializedFileAndForget(String) UnityEditor.WindowLayout:LoadDefaultWindowPreferences()
436 次浏览
评论 0
2个回答
1
双击不是会定位到相关代码吗
,4 年前回答
评论 12
0
UnityEditor.PreviewWindow不是Unity自带的类吗,如果你没有写一些自定义编辑器的代码的话,可能是某些插件导致的?
,4 年前回答
评论 0
相关问答
热门文章
查看更多
问
AI
全新AI功能上线
1. 基于Unity微调:专为Unity优化,提供精准高效的支持。
2. 深度集成:内置于团结引擎,随时查阅与学习。
3. 多功能支持:全面解决技术问题与学习需求。

问
AI