Search Issue Tracker

Fixed

Fixed in 4.0.0-pre.2

Votes

0

Found in [Package]

4.0.0-pre.1

Issue ID

TMPB-139

Regression

Yes

”error CS0029: Cannot implicitly convert type 'uint[]' to 'int[]'“ errors appear when using TextMeshPro 4.0.0-pre.1

Package: TextMeshPro

-

How to reproduce:
1. Open the user’s attached project
2. Observe the Console window

Expected result: No errors
Actual result: “error CS0029: error CS0029: Cannot implicitly convert type 'uint\[]' to 'int\[]'“ errors appear

Reproducible with: 4.0.0-pre.1 (2022.2.0b4, 2022.2.0b10, 2023.1.0a14)
Not reproducible with: 3.2.0-pre.3 (2020.3.40f1, 2021.3.11f1, 2022.1.20f1, 2022.2.0b10, 2023.1.0a14), 4.0.0-pre.1 (2022.1.20f1, 2022.2.0b3)

Reproduced on: macOS 12.4 (Intel)

Note: Deleting the Library folder doesn’t solve the issue

Full error: Library/PackageCache/com.unity.textmeshpro@4.0.0-pre.1/Scripts/Runtime/TMP_Text.cs(3427,35): error CS0029: Cannot implicitly convert type 'uint\[]' to 'int\[]'

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.