Search Issue Tracker
Fixed in 1.3.0
Votes
0
Found in [Package]
1.2.4
Issue ID
1066307
Regression
Yes
Text Mesh Pro Importer Window spam the console with lots of error messages
Repro steps:
- open the attached project in Unity 2018.3.0a7
When updating a project that uses TMP Pro from 2018.2 to 2018.3 0a7, I have been getting my console spammed by errors from the TMP package:
NullReferenceException: Object reference not set to an instance of an object
TMPro.PackageResourceImporterWindow.GetGUIStyles () (at Library/PackageCache/com.unity.textmeshpro@1.2.4/Scripts/Runtime/PackageResourceImporterWindow.cs:139)
TMPro.PackageResourceImporterWindow.OnEnable () (at Library/PackageCache/com.unity.textmeshpro@1.2.4/Scripts/Runtime/PackageResourceImporterWindow.cs:41)
UnityEditor.EditorWindow:GetWindow()
TMPro.PackageResourceImporterWindow:ShowPackageImporterWindow() (at Library/PackageCache/com.unity.textmeshpro@1.2.4/Scripts/Runtime/PackageResourceImporterWindow.cs:14)
TMPro.TMP_Settings:get_instance() (at Library/PackageCache/com.unity.textmeshpro@1.2.4/Scripts/Runtime/TMP_Settings.cs:297)
TMPro.TextMeshProUGUI:Awake() (at Library/PackageCache/com.unity.textmeshpro@1.2.4/Scripts/Runtime/TMPro_UGUI_Private.cs:77)
Also, the TMP Importer window appears and, if you chose to close it, it will appear all the time when entering play mode, and this message spams the console
ArgumentException: Getting control 0's position in a group with only 0 controls when doing Repaint
Aborting
UnityEngine.GUILayoutGroup.GetNext () (at C:/buildslave/unity/build/Modules/IMGUI/LayoutGroup.cs:117)
UnityEngine.GUILayoutUtility.DoGetRect (UnityEngine.GUIContent content, UnityEngine.GUIStyle style, UnityEngine.GUILayoutOption[] options) (at C:/buildslave/unity/build/Modules/IMGUI/GUILayoutUtility.cs:425)
UnityEngine.GUILayoutUtility.GetRect (UnityEngine.GUIContent content, UnityEngine.GUIStyle style, UnityEngine.GUILayoutOption[] options) (at C:/buildslave/unity/build/Modules/IMGUI/GUILayoutUtility.cs:385)
UnityEngine.GUILayout.DoLabel (UnityEngine.GUIContent content, UnityEngine.GUIStyle style, UnityEngine.GUILayoutOption[] options) (at C:/buildslave/unity/build/Modules/IMGUI/GUILayout.cs:16)
UnityEngine.GUILayout.Label (System.String text, UnityEngine.GUIStyle style, UnityEngine.GUILayoutOption[] options) (at C:/buildslave/unity/build/Modules/IMGUI/GUILayout.cs:12)
TMPro.PackageResourceImporterWindow.OnGUI () (at Library/PackageCache/com.unity.textmeshpro@1.2.1/Scripts/Runtime/PackageResourceImporterWindow.cs:65)
System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:232)
System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MethodBase.cs:115)
UnityEditor.HostView.Invoke (System.String methodName, System.Object obj) (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:335)
UnityEditor.HostView.Invoke (System.String methodName) (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:329)
UnityEditor.HostView.InvokeOnGUI (Rect onGUIPosition, Rect viewRect) (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:295)
all of these messages go away when the Text Mesh Pro package gets removed from the project.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on mono_dump_native_crash_info when changing a Particle System Renderer’s Material Shader to Standard Unlit
- VFX Prefab doesn’t have Preview icon in Project window and Preview window is empty in Inspector window
- Visual Effect Graph error message does not disappear and lasts forever until the Visual Effect Graph is reopened even when the error causing connection/node is deleted and Visual Effect Graph is saved
- “RenderSettings customReflection texture has invalid type” error keeps getting thrown even when Environment Reflections was set back to Skybox from Custom with an invalid texture
- Particle System with the custom Material breaks the Scene view when the material is using a Shader Graph with the Texture with the power of negative value
Add comment