Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

There is a bug When I updated the preview 12

Discussion in 'UI Toolkit' started by whiteclouds2016, Nov 17, 2020.

  1. whiteclouds2016

    whiteclouds2016

    Joined:
    Sep 22, 2017
    Posts:
    18
    It's a bug occurred when I display Chinese character
    It's like that:
    Code (CSharp):
    1. NullReferenceException: Object reference not set to an instance of an object
    2. UnityEngine.TextCore.Text.TextGeneratorUtilities.FillCharacterVertexBuffers (System.Int32 i, UnityEngine.TextCore.Text.TextGenerationSettings generationSettings, UnityEngine.TextCore.Text.TextInfo textInfo) (at Library/PackageCache/com.unity.textcore@1.0.0-preview.2/Scripts/Runtime/TextGeneratorUtilities.cs:968)
    3. UnityEngine.TextCore.Text.TextGenerator.GenerateTextMesh (UnityEngine.TextCore.Text.TextGenerationSettings generationSettings, UnityEngine.TextCore.Text.TextInfo textInfo) (at Library/PackageCache/com.unity.textcore@1.0.0-preview.2/Scripts/Runtime/TextGenerator.cs:2164)
    4. UnityEngine.TextCore.Text.TextGenerator.GenerateText (UnityEngine.TextCore.Text.TextGenerationSettings settings, UnityEngine.TextCore.Text.TextInfo textInfo)
    My environment is
    unity - 2020.2.0b11
    com.unity.ui - 1.0.0-preview.12
     
  2. antoine-unity

    antoine-unity

    Unity Technologies

    Joined:
    Sep 10, 2015
    Posts:
    733
    Hello, can you please report a bug through Unity ? (Help > Report a bug)
     
  3. whiteclouds2016

    whiteclouds2016

    Joined:
    Sep 22, 2017
    Posts:
    18
    Got it