Search Issue Tracker

Fixed

Fixed in 3.2.x

Votes

0

Found in [Package]

3.2.x

Issue ID

TMPB-182

Regression

Yes

TMP_FontAsset.faceInfo setter access is internal

Package: TextMeshPro

-

Reproduction steps:
1. Open the attached project “IN-38946 Font Asset.zip”
2. Observe the “Assets/NewBehaviourScript.cs(13,9): error CS0200: Property or indexer 'TMP_Asset.faceInfo' cannot be assigned to -- it is read only” error in the Console

Reproducible with: 3.2.0-pre.2 (2023.2.0a10), 3.2.0-pre.4 (2020.3.46f1, 2021.3.23f1, 2022.2.16f1, 2023.1.0b13, 2023.2.0a10)
Not reproducible with: 3.0.6, 3.2.0-pre.1 (2023.2.0a10)
Couldn’t test with: 4.0.0-pre.2 (TMP_FontAsset is Obsolete according to the documentation)

Reproducible on: macOS 13.2.1 (Intel)

  1. Resolution Note (fix version 3.2.x):

    Set FaceInfo setter public. Fixed in 3.2.0-pre.5 and above

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.