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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTcwNjgxNTYsIm5iZiI6MTcxNzA2Nzg1NiwicGF0aCI6Ii80MzM0MjQ1Ny8zMjI5MTcyODQtZDMzYWUzYmUtZTI0MC00ZGZlLWJiMmYtNWNiNjFlNTA3YTk4LlBORz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA1MzAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNTMwVDExMTczNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWE3ZjY4YmQyMzQxNzBkNWM4ZjdkYTU1YjVhNTliZTgwYmY2ODUzZDQzNjQ4NDQ1YWY3NTFhNDhjNzliNzZkMDUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.6Dhw03Hortf8r-C0tCbol0b1p03VJaTJwGspy-oWfpw)
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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTcwNjgxNTYsIm5iZiI6MTcxNzA2Nzg1NiwicGF0aCI6Ii80MzM0MjQ1Ny8zMjI5MTIzODQtOWJlZjVhMjEtZWQ0Mi00MWQ2LTg4ZDctODI1ZWViOTg4ZTg4LlBORz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA1MzAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNTMwVDExMTczNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTdlZDI3MmE4MDI5YjVkODU3OGQ0OTkwMTcyNjgxNzA0MGIyYTAxYmE3OGJiZjFhNzg3NDk1YzUyNzA5ZWViZjAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.xkhIglW-hzaYGINYfYk-_FrqsRHNDI2EnHB1Lqj5o0o)
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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTcwNjgxNTYsIm5iZiI6MTcxNzA2Nzg1NiwicGF0aCI6Ii80MzM0MjQ1Ny8zMjI5MTI1MTAtZTI2MmQ3ZGItZTBiNS00MmQ3LWJmZjEtMzZhOTE2ZTdjMDA2LlBORz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA1MzAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNTMwVDExMTczNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTEwN2QyNjllNzYzMjQ0YTU2M2Y3YzVhODljMjk3Mjg5NWRkZGY0ZjhlMzIwNmIxMTZjMzFlNzkxYTg2NDg5OTEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.6vdOtexP52SzvqopmewIwQsK6l4uxNo1uS-S0YYHANE)
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?