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:
- Install Visual Effect Graph package if needed
- Create a new VFX Graph
- In the VFX Graph create a new sticky note (right click)
- Change the title to "Some text" for instance
- Remove the text in the body section
- Change the size to huge (right click on sticky note)
- 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}
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Resolution Note (fix version 6000.4.0a1):
Fix exception in HasMissingGlyphs
Resolution Note (fix version 6000.3.0b2):
Fix exception in HasMissingGlyphs