Search Issue Tracker
Fixed
Fixed in 6000.0.63f1, 6000.3.0b11, 6000.4.0a5, 6000.5.0a2
Votes
0
Found in
6000.0.60f1
6000.2.10f1
6000.3.0b8
6000.4.0a3
6000.5.0a1
Issue ID
UUM-124907
Regression
No
Text render issues and various exceptions in TextCore when using TextSettings option "Match Material Presets"
Reproduction steps:
1. Open the attached project "ReproProj"
2. Open the “/Assets/Scenes/FirstScene.unity” Scene
3. Enter the Play Mode
4. Observe the Console
Expected result: No Errors exist, and the text is rendered correctly on hover
Actual result: Errors “NullReferenceException: Object reference not set to an instance of an object“, “UnityException: HasProperty can only be called from the main thread.“, “ArgumentException: The state of the provided MeshGenerationNode is invalid (entry is null).“ are present, and the text is rendered broken on hover
Reproducible with: 6000.0.60f1, 6000.2.10f1, 6000.4.0a3
Not reproducible with: 6000.3.0b7 (Assets\Plugins\UniRx\Scripts\UnityEngineBridge\Triggers\ObservableJointTrigger.cs(24,29): error CS1069: The type name 'Joint2D' could not be found in the namespace 'UnityEngine')
Reproducible on:
Play Mode
Could not test on:
Windows Standalone Player (Build fails)
Testing environment: Windows 10 Enterprise 21H2
Not reproducible on: No other environment tested
Notes:
- In contrast, everything works fine when using the TextSettings file 'UltraStarPlayTextSettingsFixed' instead of 'UltraStarPlayTextSettings'.
The only difference is that the option 'Fallback Material Settings > Match Material Settings' seems to cause the bug
- The project uses custom TextSettings with custom Fallback Fonts
- MaterialIcons and FontIcons is a custom UXML that render Google Material Icons from a font asset
- Some common code is moved to separate Packages named "playshared" and playsharedui". The fonts, FontIcons, styles, etc., are in “Packages/playsharedui”. You also find it when inspecting the UIDocument > PanelSettings > TextSettings
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.5.0a2):
Fix thread issue when using matchMaterialPreset
Resolution Note (fix version 6000.4.0a5):
Fix thread issue with underline
Resolution Note (fix version 6000.3.0b11):
Fix thread issue when using matchMaterialPreset
Resolution Note (fix version 6000.0.63f1):
Fix thread issue when using matchMaterialPreset