Search Issue Tracker

Fixed

Fixed in 6000.3.0b2, 6000.4.0a1

Votes

0

Found in

6000.3.0b1

6000.4.0a1

Issue ID

UUM-115267

Regression

Yes

[UIToolkit] Exception in the console while resizing Sticky note in VFXGraph

-

Steps to reproduce:

  1. Install Visual Effect Graph package if needed
  2. Create a new VFX Graph
  3. In the VFX Graph create a new sticky note (right click)
  4. Change the title to "Some text" for instance
  5. Remove the text in the body section
  6. Change the size to huge (right click on sticky note)
  7. Now resize the sticky note so that it perfectly fits the title

Actual results: 

Some exceptions are raised in the console (see video in the console)

Expected results: 

No exception is raised.

Reproducible with versions: 

6000.3.0b1

Not reproducible with versions: 

6000.3.0a5

Can’t test with versions: 

Tested on (OS): 

Window 10
Notes:

First exception:
{quote}NullReferenceException: Object reference not set to an instance of an object
UnityEngine.TextCore.Text.TextLib.HasMissingGlyphs (UnityEngine.TextCore.Text.NativeTextInfo textInfo, System.Collections.Generic.Dictionary`2[System.Int32,System.Collections.Generic.HashSet`1[System.UInt32]]& missingGlyphsPerFontAsset) (at <6b82a8a64b39443f9d0019121a796cc1>:0)
UnityEngine.UIElements.UITKTextHandle.HasMissingGlyphs (UnityEngine.TextCore.Text.NativeTextInfo textInfo, System.Collections.Generic.Dictionary`2[System.Int32,System.Collections.Generic.HashSet`1[System.UInt32]]& missingGlyphsPerFontAsset) (at <3884c4aa0a9c4b759e274cd71d82e29d>:0)
UnityEngine.UIElements.ATGTextJobSystem+GenerateTextJobData.Execute (System.Int32 index) (at <3884c4aa0a9c4b759e274cd71d82e29d>:0)
Unity.Jobs.IJobForExtensions+ForJobStruct`1[T].Execute (T& jobData, System.IntPtr additionalPtr, System.IntPtr bufferRangePatchData, Unity.Jobs.LowLevel.Unsafe.JobRanges& ranges, System.Int32 jobIndex) (at <b8aa692bad88498fb3e0490afbccb74d>:0)
{quote}

  1. Resolution Note (fix version 6000.4.0a1):

    Fix exception in HasMissingGlyphs

  2. Resolution Note (fix version 6000.3.0b2):

    Fix exception in HasMissingGlyphs

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.