Font Importer
Posted: 19 Jun 2022, 00:09
Hello,
I have the problem that noesis imports fonts automatically with its own importer.
This leads to missing fonts in other components that are depending on them.
Is there an option to disable this behaviour?
Additionally, I am getting two errors when changing the importer.
I have the problem that noesis imports fonts automatically with its own importer.
This leads to missing fonts in other components that are depending on them.
Is there an option to disable this behaviour?
Additionally, I am getting two errors when changing the importer.
Code: Select all
MissingReferenceException: The object of type 'NoesisFont' has been destroyed but you are still trying to access it.
Your script should either check if it is null or you should not destroy the object.
UnityEngine.Object.get_name () (at <d8d38b92d94a4ff8a91e61d39c6d19cd>:0)
UnityEditor.ObjectPreview.GetPreviewTitle () (at <c131a2bddec5488c9acbc95523658064>:0)
UnityEditor.Editor.GetPreviewTitle () (at <c131a2bddec5488c9acbc95523658064>:0)
UnityEditor.Editor.GetPreviewTitle () (at <c131a2bddec5488c9acbc95523658064>:0)
UnityEditor.PropertyEditor.DrawPreviewAndLabels () (at <c131a2bddec5488c9acbc95523658064>:0)
UnityEngine.UIElements.IMGUIContainer.DoOnGUI (UnityEngine.Event evt, UnityEngine.Matrix4x4 parentTransform, UnityEngine.Rect clippingRect, System.Boolean isComputingLayout, UnityEngine.Rect layoutSize, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <cce578fc5f344bd79194d0850d7f4c47>:0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)
Code: Select all
MissingReferenceException: The object of type 'NoesisFont' has been destroyed but you are still trying to access it.
Your script should either check if it is null or you should not destroy the object.
UnityEngine.Object.get_name () (at <d8d38b92d94a4ff8a91e61d39c6d19cd>:0)
UnityEditor.ObjectPreview.GetPreviewTitle () (at <c131a2bddec5488c9acbc95523658064>:0)
UnityEditor.Editor.GetPreviewTitle () (at <c131a2bddec5488c9acbc95523658064>:0)
UnityEditor.Editor.GetPreviewTitle () (at <c131a2bddec5488c9acbc95523658064>:0)
UnityEditor.PropertyEditor.DrawPreviewAndLabels () (at <c131a2bddec5488c9acbc95523658064>:0)
UnityEngine.UIElements.IMGUIContainer.DoOnGUI (UnityEngine.Event evt, UnityEngine.Matrix4x4 parentTransform, UnityEngine.Rect clippingRect, System.Boolean isComputingLayout, UnityEngine.Rect layoutSize, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <cce578fc5f344bd79194d0850d7f4c47>:0)
UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, UnityEngine.Matrix4x4 worldTransform, UnityEngine.Rect clippingRect, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <cce578fc5f344bd79194d0850d7f4c47>:0)
UnityEngine.UIElements.IMGUIContainer.DoIMGUIRepaint () (at <cce578fc5f344bd79194d0850d7f4c47>:0)
UnityEngine.UIElements.UIR.RenderChainCommand.ExecuteNonDrawMesh (UnityEngine.UIElements.UIR.DrawParams drawParams, System.Single pixelsPerPoint, System.Exception& immediateException) (at <cce578fc5f344bd79194d0850d7f4c47>:0)
Rethrow as ImmediateModeException
UnityEngine.UIElements.UIR.RenderChain.Render () (at <cce578fc5f344bd79194d0850d7f4c47>:0)
UnityEngine.UIElements.UIRRepaintUpdater.Update () (at <cce578fc5f344bd79194d0850d7f4c47>:0)
UnityEngine.UIElements.VisualTreeUpdater.UpdateVisualTreePhase (UnityEngine.UIElements.VisualTreeUpdatePhase phase) (at <cce578fc5f344bd79194d0850d7f4c47>:0)
UnityEngine.UIElements.Panel.UpdateForRepaint () (at <cce578fc5f344bd79194d0850d7f4c47>:0)
UnityEngine.UIElements.Panel.Repaint (UnityEngine.Event e) (at <cce578fc5f344bd79194d0850d7f4c47>:0)
UnityEngine.UIElements.UIElementsUtility.DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel panel) (at <cce578fc5f344bd79194d0850d7f4c47>:0)
UnityEngine.UIElements.UIElementsUtility.UnityEngine.UIElements.IUIElementsUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& eventHandled) (at <cce578fc5f344bd79194d0850d7f4c47>:0)
UnityEngine.UIElements.UIEventRegistration.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at <cce578fc5f344bd79194d0850d7f4c47>:0)
UnityEngine.UIElements.UIEventRegistration+<>c.<.cctor>b__1_2 (System.Int32 i, System.IntPtr ptr) (at <cce578fc5f344bd79194d0850d7f4c47>:0)
UnityEngine.GUIUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& result) (at <779d5b0ed0e842c7bd49637f7c03a309>:0)