Not sure how to reproduced it. It seems to happen more easier when clicking the hyperlinks in the database content.
I have loaded my custom font mod but I hope to leave the game log here. It begins with unity 6 update.
NullReferenceException: Object reference not set to an instance of an object at TMPro.TMP_Text.ValidateHtmlTag (TMPro.TMP_Text+TextProcessingElement[] chars, System.Int32 startIndex, System.Int32& endIndex) [0x012dd] in <3b265ecd9bed4c929078bc9df64cc5e5>:0 at TMPro.TMP_Text.CalculatePreferredValues (System.Single& fontSize, UnityEngine.Vector2 marginSize, System.Boolean isTextAutoSizingEnabled, TMPro.TextWrappingModes textWrapMode) [0x003ee] in <3b265ecd9bed4c929078bc9df64cc5e5>:0 at TMPro.TMP_Text.GetPreferredHeight () [0x000a5] in <3b265ecd9bed4c929078bc9df64cc5e5>:0 at TMPro.TMP_Text.get_preferredHeight () [0x00000] in <3b265ecd9bed4c929078bc9df64cc5e5>:0 at UnityEngine.UI.LayoutUtility+<>c.<GetPreferredHeight>b__7_1 (UnityEngine.UI.ILayoutElement e) [0x00000] in <d7e6fb7d811a44c59080a566e6198411>:0 at UnityEngine.UI.LayoutUtility.GetLayoutProperty (UnityEngine.RectTransform rect, System.Func`2[T,TResult] property, System.Single defaultValue, UnityEngine.UI.ILayoutElement& source) [0x00071] in <d7e6fb7d811a44c59080a566e6198411>:0 at UnityEngine.UI.LayoutUtility.GetLayoutProperty (UnityEngine.RectTransform rect, System.Func`2[T,TResult] property, System.Single defaultValue) [0x00000] in <d7e6fb7d811a44c59080a566e6198411>:0 at UnityEngine.UI.LayoutUtility.GetPreferredHeight (UnityEngine.RectTransform rect) [0x0002a] in <d7e6fb7d811a44c59080a566e6198411>:0 at UnityEngine.UI.LayoutUtility.GetPreferredSize (UnityEngine.RectTransform rect, System.Int32 axis) [0x00003] in <d7e6fb7d811a44c59080a566e6198411>:0 at UnityEngine.UI.HorizontalOrVerticalLayoutGroup.GetChildSizes (UnityEngine.RectTransform child, System.Int32 axis, System.Boolean controlSize, System.Boolean childForceExpand, System.Single& min, System.Single& preferred, System.Single& flexible) [0x0002f] in <d7e6fb7d811a44c59080a566e6198411>:0 at UnityEngine.UI.HorizontalOrVerticalLayoutGroup.CalcAlongAxis (System.Int32 axis, System.Boolean isVertical) [0x0008c] in <d7e6fb7d811a44c59080a566e6198411>:0 at UnityEngine.UI.VerticalLayoutGroup.CalculateLayoutInputVertical () [0x00000] in <d7e6fb7d811a44c59080a566e6198411>:0 at UnityEngine.UI.LayoutRebuilder+<>c.<Rebuild>b__12_2 (UnityEngine.Component e) [0x00000] in <d7e6fb7d811a44c59080a566e6198411>:0 at UnityEngine.UI.LayoutRebuilder.PerformLayoutCalculation (UnityEngine.RectTransform rect, UnityEngine.Events.UnityAction`1[T0] action) [0x00074] in <d7e6fb7d811a44c59080a566e6198411>:0 at UnityEngine.UI.LayoutRebuilder.PerformLayoutCalculation (UnityEngine.RectTransform rect, UnityEngine.Events.UnityAction`1[T0] action) [0x00050] in <d7e6fb7d811a44c59080a566e6198411>:0 at UnityEngine.UI.LayoutRebuilder.PerformLayoutCalculation (UnityEngine.RectTransform rect, UnityEngine.Events.UnityAction`1[T0] action) [0x00050] in <d7e6fb7d811a44c59080a566e6198411>:0 at UnityEngine.UI.LayoutRebuilder.PerformLayoutCalculation (UnityEngine.RectTransform rect, UnityEngine.Events.UnityAction`1[T0] action) [0x00050] in <d7e6fb7d811a44c59080a566e6198411>:0 at UnityEngine.UI.LayoutRebuilder.PerformLayoutCalculation (UnityEngine.RectTransform rect, UnityEngine.Events.UnityAction`1[T0] action) [0x00050] in <d7e6fb7d811a44c59080a566e6198411>:0 at UnityEngine.UI.LayoutRebuilder.PerformLayoutCalculation (UnityEngine.RectTransform rect, UnityEngine.Events.UnityAction`1[T0] action) [0x00050] in <d7e6fb7d811a44c59080a566e6198411>:0 at UnityEngine.UI.LayoutRebuilder.PerformLayoutCalculation (UnityEngine.RectTransform rect, UnityEngine.Events.UnityAction`1[T0] action) [0x00050] in <d7e6fb7d811a44c59080a566e6198411>:0 at UnityEngine.UI.LayoutRebuilder.PerformLayoutCalculation (UnityEngine.RectTransform rect, UnityEngine.Events.UnityAction`1[T0] action) [0x00050] in <d7e6fb7d811a44c59080a566e6198411>:0 at UnityEngine.UI.LayoutRebuilder.Rebuild (UnityEngine.UI.CanvasUpdate executing) [0x0005d] in <d7e6fb7d811a44c59080a566e6198411>:0 at UnityEngine.UI.CanvasUpdateRegistry.PerformUpdate () [0x00041] in <d7e6fb7d811a44c59080a566e6198411>:0 UnityEngine.DebugLogHandler:Internal_LogException_Injected(Exception, IntPtr) UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object) UnityEngine.DebugLogHandler:LogException(Exception, Object) LogCatcher:UnityEngine.ILogHandler.LogException(Exception, Object) UnityEngine.Logger:LogException(Exception, Object) UnityEngine.Debug:LogException(Exception, Object) UnityEngine.UI.CanvasUpdateRegistry:PerformUpdate() UnityEngine.Canvas:SendWillRenderCanvases()
Steps to Reproduce
Navigate it database by using hyperlinks in the database
-
1
A developer has marked this issue as fixed. This means that the issue has been addressed in the current development build and will likely be in the next update.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now