- 发生了什么
尝试更改按钮或文本的文本时,统一编辑器崩溃。
- 我们如何使用您附加的示例来重现它
创建一个新项目。添加文本 (GameObject->UI->Text) 单击以将默认的“新文本”更改为其他内容时会发生崩溃。
按钮也是如此。
Unity 版本为 5.1.1f1_2046fc06d4d8
我还在另一台之前没有安装 Unity 的 PC 上尝试过:同样的结果。
我究竟做错了什么?
这是 Editor.log 堆栈跟踪:
========== OUTPUTING STACK TRACE ==================
000007FEEE95AF7E (mono) fmod
ERROR: SymGetSymFromAddr64, GetLastError: 'Kan opgegeven module niet vinden.' (Address: 000000000A98224A)
ERROR: SymGetModuleInfo64, GetLastError: 'Een initialisatieroutine van de dynamic link library (DLL-bestand) is mislukt.' (Address: 000000000A98224A)
000000000A98224A ((<unknown>))
0000000011C0D1FF (Mono JIT Code) [C:\buildslave\unity\build\artifacts\generated\common\runtime\GUIStyleBindings.gen.cs:781] UnityEngine.GUIStyle:DrawWithTextSelection (UnityEngine.Rect,UnityEngine.GUIContent,int,int,int,bool)
0000000011C0CED6 (Mono JIT Code) [C:\buildslave\unity\build\artifacts\generated\common\runtime\GUIStyleBindings.gen.cs:804] UnityEngine.GUIStyle:DrawWithTextSelection (UnityEngine.Rect,UnityEngine.GUIContent,int,int,int)
0000000011C0C702 (Mono JIT Code) [C:\buildslave\unity\build\Runtime\Export\TextEditor.cs:985] UnityEngine.TextEditor:DrawCursor (string)
000000001ADC1010 (Mono JIT Code) [C:\buildslave\unity\build\Editor\Mono\EditorGUI.cs:903] UnityEditor.EditorGUI:DoTextField (UnityEditor.EditorGUI/RecycledTextEditor,int,UnityEngine.Rect,string,UnityEngine.GUIStyle,string,bool&,bool,bool,bool)
0000000011BE54A2 (Mono JIT Code) [C:\buildslave\unity\build\Editor\Mono\EditorGUI.cs:1379] UnityEditor.EditorGUI:ScrollableTextAreaInternal (UnityEngine.Rect,string,UnityEngine.Vector2&,UnityEngine.GUIStyle)
0000000011BE4175 (Mono JIT Code) [C:\buildslave\unity\build\Editor\Mono\ScriptAttributeGUI\Implementations\PropertyDrawers.cs:76] UnityEditor.TextAreaDrawer:OnGUI (UnityEngine.Rect,UnityEditor.SerializedProperty,UnityEngine.GUIContent)
0000000011BE3D14 (Mono JIT Code) [C:\buildslave\unity\build\Editor\Mono\ScriptAttributeGUI\PropertyDrawer.cs:23] UnityEditor.PropertyDrawer:OnGUISafe (UnityEngine.Rect,UnityEditor.SerializedProperty,UnityEngine.GUIContent)
0000000011BA350D (Mono JIT Code) [C:\buildslave\unity\build\Editor\Mono\ScriptAttributeGUI\PropertyHandler.cs:134] UnityEditor.PropertyHandler:OnGUI (UnityEngine.Rect,UnityEditor.SerializedProperty,UnityEngine.GUIContent,bool)
0000000011BE29ED (Mono JIT Code) [C:\buildslave\unity\build\Editor\Mono\ScriptAttributeGUI\PropertyHandler.cs:195] UnityEditor.PropertyHandler:OnGUILayout (UnityEditor.SerializedProperty,UnityEngine.GUIContent,bool,UnityEngine.GUILayoutOption[])
0000000011BDCBEB (Mono JIT Code) [C:\buildslave\unity\build\Editor\Mono\EditorGUI.cs:6811] UnityEditor.EditorGUILayout:PropertyField (UnityEditor.SerializedProperty,UnityEngine.GUIContent,bool,UnityEngine.GUILayoutOption[])
0000000011BDCB1A (Mono JIT Code) [C:\buildslave\unity\build\Editor\Mono\EditorGUI.cs:6793] UnityEditor.EditorGUILayout:PropertyField (UnityEditor.SerializedProperty,UnityEngine.GUILayoutOption[])
0000000011BDC984 (Mono JIT Code) [C:\buildslave\unity\build\Extensions\guisystem\UnityEditor.UI\UI\TextEditor.cs:33] UnityEditor.UI.TextEditor:OnInspectorGUI ()
0000000011B97ECC (Mono JIT Code) [C:\buildslave\unity\build\Editor\Mono\Inspector\InspectorWindow.cs:1162] UnityEditor.InspectorWindow:DrawEditor (UnityEditor.Editor,int,bool,bool&,UnityEngine.Rect&,bool)
000000001AE4A704 (Mono JIT Code) [C:\buildslave\unity\build\Editor\Mono\Inspector\InspectorWindow.cs:969] UnityEditor.InspectorWindow:DrawEditors (UnityEditor.Editor[])
000000001AE485D9 (Mono JIT Code) [C:\buildslave\unity\build\Editor\Mono\Inspector\InspectorWindow.cs:350] UnityEditor.InspectorWindow:OnGUI ()
00000000176D68E2 (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_void__this__ (object,intptr,intptr,intptr)
000007FEEE914053 (mono) [c:\buildslave\mono-runtime-and-classlibs\build\mono\mini\mini.c:4914] mono_jit_runtime_invoke
000007FEEE868389 (mono) [c:\buildslave\mono-runtime-and-classlibs\build\mono\metadata\object.c:2623] mono_runtime_invoke
000007FEEE86E783 (mono) [c:\buildslave\mono-runtime-and-classlibs\build\mono\metadata\object.c:3827] mono_runtime_invoke_array
000007FEEE82CECB (mono) [c:\buildslave\mono-runtime-and-classlibs\build\mono\metadata\icall.c:2857] ves_icall_InternalInvoke
00000000176A0217 (Mono JIT Code) (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
000000001769E372 (Mono JIT Code) [/Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222] System.Reflection.MonoMethod:Invoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo)
0000000019EFC1DF (Mono JIT Code) [/Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.Reflection/MethodBase.cs:115] System.Reflection.MethodBase:Invoke (object,object[])
0000000019F66E46 (Mono JIT Code) [C:\buildslave\unity\build\Editor\Mono\HostView.cs:185] UnityEditor.HostView:Invoke (string,object)
0000000019F66D30 (Mono JIT Code) [C:\buildslave\unity\build\Editor\Mono\HostView.cs:178] UnityEditor.HostView:Invoke (string)
000000001ADABF22 (Mono JIT Code) [C:\buildslave\unity\build\Editor\Mono\GUI\DockArea.cs:334] UnityEditor.DockArea:OnGUI ()
00000000176D68E2 (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_void__this__ (object,intptr,intptr,intptr)
000007FEEE914053 (mono) [c:\buildslave\mono-runtime-and-classlibs\build\mono\mini\mini.c:4914] mono_jit_runtime_invoke
000007FEEE868389 (mono) [c:\buildslave\mono-runtime-and-classlibs\build\mono\metadata\object.c:2623] mono_runtime_invoke
000000014039A04F (Unity) scripting_method_invoke
00000001405596DF (Unity) ScriptingInvocationNoArgs::Invoke
000000014037A5BD (Unity) MonoBehaviour::DoGUI
0000000140E2568D (Unity) GUIView::OnInputEvent
0000000140E26A82 (Unity) GUIView::DoPaint
0000000140E26E40 (Unity) GUIView::RepaintAll
0000000140D2FA11 (Unity) Application::TickTimer
0000000140E41AF4 (Unity) RelaunchUnity
0000000140E430EB (Unity) WinMain
00000001414D2420 (Unity) strerror_s
0000000077535A4D (kernel32) BaseThreadInitThunk
000000007766B831 (ntdll) RtlUserThreadStart
========== END OF STACKTRACE ===========
翻译:“看 opgegeven 模块 niet vinden。” = '找不到指定的模块' 'Een initialisatieroutine van de dynamic link library (DLL-bestand) is mislukt.' = '动态链接库 (DLL) 初始化例程失败。'
所以我认为它想要一个DLL文件,但它找不到它。也许是因为我的窗户是用荷兰语安装的?或者也许我需要一些 .net 框架?我真的不知道。。