Originally posted by MargaritaChebotareva April 16, 2024
Hello! Thanks for your plugin!
In short, the problem is that in Unity 2023.2.3 the TMP library has been moved to com.unity.ugui and you can only get the essential resources for TMP version 2.0.1.
![unity_2023_2_3f1_need_TMP](https://private-user-images.githubusercontent.com/43342457/322917284-d33ae3be-e240-4dfe-bb2f-5cb61e507a98.PNG?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjM5MTcwOTcsIm5iZiI6MTcyMzkxNjc5NywicGF0aCI6Ii80MzM0MjQ1Ny8zMjI5MTcyODQtZDMzYWUzYmUtZTI0MC00ZGZlLWJiMmYtNWNiNjFlNTA3YTk4LlBORz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MTclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODE3VDE3NDYzN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWJhMGRhNjc1ODcxOThkZDlmODJmMzQ4N2I4Njg4MzhjMTQyNWJlMjhhYzIzZjFkN2E5NjFjZjk1MTU3ZDRiZmImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0._oRzXiPPdgehqHxqX3dkjpVe_ABMQgcPfW3E_chp27Q)
I tried changing the TMP version in dependencies in package.json of your plugin or changed "com.unity.textmeshpro": "2.0.1" to "com.unity.ugui": "2.0.0" but it didn't work.
In the end I have only version 2.0.1. In this case, using the plugin gives the following result:
![unity_2023_2_3f1_result](https://private-user-images.githubusercontent.com/43342457/322912384-9bef5a21-ed42-41d6-88d7-825eeb988e88.PNG?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjM5MTcwOTcsIm5iZiI6MTcyMzkxNjc5NywicGF0aCI6Ii80MzM0MjQ1Ny8zMjI5MTIzODQtOWJlZjVhMjEtZWQ0Mi00MWQ2LTg4ZDctODI1ZWViOTg4ZTg4LlBORz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MTclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODE3VDE3NDYzN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTQyMzk2MjMwYzYzMGFkNzFmMzE5YzE0MDFiMjM4YmU3MmU4NGU5NDE0NTJjZDE0OWI5ZWJkZDJmMGNlNDgxMTImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.-lNwtbgleCpZDZhj_u6BxgeIzCjBbbPAMYn-AsXwdUo)
I downloaded Unity 2021.3.19f and ran your project. In the old version of Unity everything works, it looks like this:
![unity_2021_3_19f1_it_works](https://private-user-images.githubusercontent.com/43342457/322912510-e262d7db-e0b5-42d7-bff1-36a916e7c006.PNG?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjM5MTcwOTcsIm5iZiI6MTcyMzkxNjc5NywicGF0aCI6Ii80MzM0MjQ1Ny8zMjI5MTI1MTAtZTI2MmQ3ZGItZTBiNS00MmQ3LWJmZjEtMzZhOTE2ZTdjMDA2LlBORz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MTclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODE3VDE3NDYzN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTM0YTEzOWI3YWVmNjkyYzBlYmFjYTYxNDA2OWE4NjNmNmVmZGJhMjI0MmZmZGVmNWU3MGVmZjY4Mzg2NGNmMTkmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.TO24LwfxzinB2qBmiCMMqdV0Eol9snXAy1PZ3Qnd9z8)
In the package manager, the TMP library is version 3.0.6, but as I said, I can't get it in the new version of Unity.
I tried to find a solution and found this thread:
https://forum.unity.com/threads/2023-2-latest-development-on-textmesh-pro.1434757/
Now, I'm thinking of taking the essential resources of TMP from your project and moving to 2023, but this is certainly not the best solution...
I think that if change the library that is used in the code (I don't understand why it doesn't throw a compiler error due to namespaces), the plugin will use ugui's new version of TMP, but maybe I'm confusing something.
Could you please help me?