Search Issue Tracker

Fixed

Fixed in 2022.2.0a3, 2022.3.19f1, 2023.2.5f1, 2023.3.0a1

Votes

7

Found in

2022.3.0f1

2023.1.0a5

2023.2.0a1

2023.3.0a1

Issue ID

UUM-11753

Regression

Yes

Unicode Character Error in console when browsing assets in Package Manager

--

-

Steps:
1. Open new Unity project and create a standard 3d template
2. Open Windows tab and click on Package Manager tab
3. Go to My Assets and click on a few

Expected Result: No errors
Current Result: Errors thrown into console

First found in ver 23.1.0a5
Affected versions: 23.1.0a5, 22.2.0b5
Fixed in: 22.1.12f

Extra Info:
Similar warnings showing when Minimizing/Maximizing the package manager window
Changing the sorting option in the window also creates similar warnings
All errors relate to character unicode
Main assets affected include: https://assetstore.unity.com/packages/audio/sound-fx/epic-game-hits-sfx-36617

Bug Error Code:

Error:
IndexOutOfRangeException: Index was outside the bounds of the array.
UnityEngine.TextCore.Text.TextGenerator.ValidateHtmlTag (UnityEngine.TextCore.Text.TextProcessingElement[] chars, System.Int32 startIndex, System.Int32& endIndex, UnityEngine.TextCore.Text.TextGenerationSettings generationSettings, UnityEngine.TextCore.Text.TextInfo textInfo) (at <8d7b36f78bf94caebc9095044bc3072b>:0)
UnityEngine.TextCore.Text.TextGenerator.GenerateTextMesh (UnityEngine.TextCore.Text.TextGenerationSettings generationSettings, UnityEngine.TextCore.Text.TextInfo textInfo) (at <8d7b36f78bf94caebc9095044bc3072b>:0)
UnityEngine.TextCore.Text.TextGenerator.GenerateText (UnityEngine.TextCore.Text.TextGenerationSettings settings, UnityEngine.TextCore.Text.TextInfo textInfo) (at <8d7b36f78bf94caebc9095044bc3072b>:0)
UnityEngine.TextCore.Text.TextHandle.Update (UnityEngine.TextCore.Text.TextGenerationSettings tgs) (at <8d7b36f78bf94caebc9095044bc3072b>:0)
UnityEngine.UIElements.UITKTextHandle.Update () (at <3bbb851f0bee4305887e122cccf616de>:0)
UnityEngine.UIElements.UIR.Implementation.UIRStylePainter.DrawText (UnityEngine.UIElements.TextElement te) (at <3bbb851f0bee4305887e122cccf616de>:0)
UnityEngine.UIElements.MeshGenerationContextUtils.Text (UnityEngine.UIElements.MeshGenerationContext mgc, UnityEngine.UIElements.TextElement te) (at <3bbb851f0bee4305887e122cccf616de>:0)
UnityEngine.UIElements.TextElement.OnGenerateVisualContent (UnityEngine.UIElements.MeshGenerationContext mgc) (at <3bbb851f0bee4305887e122cccf616de>:0)
UnityEngine.UIElements.VisualElement.InvokeGenerateVisualContent (UnityEngine.UIElements.MeshGenerationContext mgc) (at <3bbb851f0bee4305887e122cccf616de>:0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)

Warning:
The character with Unicode value \u26A1 was not found in the [Inter-Regular SDF] font asset or any potential fallbacks. It was replaced by Unicode character \u25A1.
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

  1. Resolution Note (fix version 2022.3.19f1):

    Ensure no errors are thrown for wrongly formatted tags

  2. Resolution Note (fix version 2022.2.0a3):

    Fix exception thrown when parsing an invalid tag.

Comments (8)

  1. Andy608

    Feb 11, 2024 23:59

    This issue persists in LTS 2022.3.19f1.

    Create a brand new project using 2D (URP) and you'll receive this error: "The character with Unicode value \uFE0F was not found in the [Inter-Regular SDF] font asset or any potential fallbacks. It was replaced by Unicode character \u25A1.
    UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)"

  2. Colin_MacLeod

    Feb 02, 2024 16:13

    Sorry, no, still seeing it n 2022.3.19f1 with TextMeshPro 3.0.7

  3. Colin_MacLeod

    Jan 31, 2024 21:25

    - Previous comment was using TextMeshPro 3.0.6
    Uninstalling TextMeshPro 3.0.6 and installing TextMeshPro 3.0.7 on Unity 2022.3.19f1 (Apple Silicon) appears to have fixed it.

  4. Colin_MacLeod

    Jan 31, 2024 21:14

    Still present in 2022.3.19f1

  5. snsnsnsn

    Oct 04, 2023 08:26

    This issue still occurred in LTS 2022.3.10.

  6. trexturtleowen

    Aug 18, 2023 12:27

    A Workaround: Remove Textmesh PRO from your Unity Registry in the Package Manager. Then swapping back and forth to "My Asset" can somewhat resolve the issue for now.

  7. trexturtleowen

    Aug 18, 2023 09:05

    This issue still persisted in LTS 2022.3.7

  8. IronclawIsGood

    Jun 19, 2023 10:21

    How to fix the error

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.