Hi,
I upgraded to the latest 2022 beta and I get this error:
Library/PackageCache/com.unity.textmeshpro@4.0.0-pre.1/Scripts/Runtime/TMP_Text.cs(2943,35): error CS0029: Cannot implicitly convert type ‘uint[ ]’ to ‘int[ ]’
Also, 4.0.0 has been in pre.1 for about a year. Is there going to be a update soon where it gets released?
Thanks!
I’m wondering about this too.
As per the “Upgrade Note”, version 4.0 should only be used by UI Toolkit users who do not want to have a potential duplication of resources between TMP Font Assets and Font Asset (internal type).
Please read the version important on that package. Again I recommend using version 3.2.0-pre.3.
Hi,
I don’t understand. I am a UIToolkit user and I am using 4.0.0 for this reason. I just updated from 2022.1 beta to the latest 2022.2 beta and got the error.
Is 4.0.0 not compatible with 2022.2?
In Unity 2021, UI Toolkit was a package. In Unity 2022, UI Toolkit is now part of the Editor where as such and if (and only if) you wish to avoid having to use TMP_FontAssets for TMP and FontAsset for UI Toolkit, then you should use version 4.0.0.
However, in my opinion, it is not worth going through the process of converting all TMP_FontAssets to the new internal FontAsset format and losing access to source code on those assets just to avoid having to use dedicated assets for TMP and UITK.
Therefore, I recommend continuing to use version 3.2.0-pre.3 for TMP and when using UITK creating FontAssets.
Sorry, I am completely confused. I probably am not saying this correctly, my bad =(
Previous State
- I am using 2022.1 beta.
- I am using UIToolkit built-in, not the package.
- I am using 4.0.0 pre1
Everything is working perfectly with above.
Current State
- Update to 2022.2 beta.
- I get the error in my original post.
It seems 4.0.0 has an issue with 2022.2 beta. Does this require a bug report or is 4.0.0 not compatible with 2022.2?
Again, sorry for the confusion 
Thank you for the clarification and sorry about the confusion.
Please do submit a bug report. Independently of the report, I’ll take a look on my end and let you know what I find.
Bug Report for OP Issue: IN-17553
Bug Report for “Cannot Rename Front Sprites” Issue: IN-17556
You just have to import TMP 4.0.0 into the 2022.2 beta and the error will show 
Thanks!