Search Issue Tracker
Fixed in 5.5.2
Votes
0
Found in
5.5.0f3
Issue ID
858645
Regression
Yes
Font created at runtime does not show up when added to Text
Steps to reproduce:
1. Open the attached project (Vendor6.zip)
2. Open the Assets/ZZZTEST/_testPlayer.unity scene
3. Run Unity
4. Observe, that near the blood drop icon on the hud should appear the health counter, but it does not
5. In the Hierarchy dialog, select the hLabel (_testPlayer->Interface->hud->hCounter->hLabel)
6. Check Font in Inspector (font is created and set at runtime. Label.cs:44 -> _text.font = NM.Asset.GetFontCache ("lt/" + args [0].Trim (NM.IO.Path.SpaceChar)).GetFont();)
Expected result: Font created at runtime should show up
Actual result: Font created at runtime does not show up
Note:
Font is created in Font.cs (with BinaryReader)
Impossible to test in 5.3.x as System.IO.File' does not contain a definition for `WriteAllBytes'
Reproduced with: 5.5.0a1, 5.5.0f3, 5.6.0a6
Not reproduced with: 5.4.3p3
Regression introduced in 5.5.0a1
Comments (1)
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
- Crash with multiple stack traces when playing video on a render texture with low-end graphics devices
- Circle handle of the Game view scale slider bar disappears when the scale is set to 1x
- Asset Bundles non-deterministic behavior with CRCs and hash when a video has Transcoding enabled and Sprite Atlas has an override option enabled
- [Quality Hackweek] Errors "InvalidOperationException: EnsureRunningOnMainThread can only be called from the main thread" and "NullReferenceException" shown when switching build platforms with Muse Texture package installed
- "Importer(DefaultImporter) generated inconsistent result for asset" warnings are thrown when reimporting the "URP" texture
Neurological
Apr 01, 2017 12:24
This issue came back again in 5.6.0f3 new release. Is not listed in the changelog either, so I'm not sure it has been implemented on the new version.