Search Issue Tracker

Active

Under Consideration for 6000.0.X, 6000.1.X

Votes

0

Found in

6000.0.33f1

6000.1.0a10

7000.0.0a1

Issue ID

UUM-91772

Regression

No

FaceFont value of FontEngine.GetFaceInfo will become 0 when FontEngine.LoadFontFace is called multiple times for the same font

--

-

Reproduction steps:
1. Open the attached project "ReproProj"
2. Build and Run the “/Assets/Scenes/SampleScene.unity“ Scene
3. Observe the Player

Expected result: No Errors exist
Actual result: “Arial pointSize:0 accentLine:0 baseline:0 descentLine:0 error!!!!” is present

Reproducible with: 6000.0.1f1, 6000.0.33f1, 6000.1.0a10
Not reproducible with: 2022.3.55f1, 6000.0.0f1

Reproducible on:
Release Build (Windows 10 Enterprise 21H2, MacMini M2)
Development Build (MacMini M2)
Play Mode (MacMini M2)

Not reproducible on:
Development Build (Windows 10 Enterprise 21H2)
Play Mode (Windows 10 Enterprise 21H2)

Testing environment: Windows 10 Enterprise 21H2, MacMini (M2)
Not reproducible on: No other environment tested

Note:
- Does not reproduce when calling FontEngine.GetFaceInfo immediately after calling FontEngine.LoadFontFace(font), however, if calling FontEngine.LoadFontFace(font) again and then call FontEngine.GetFaceInfo will result in FaceFont with various values set to 0

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.