-
-
Notifications
You must be signed in to change notification settings - Fork 276
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make TextMeshPro Support a required dependency instead of sample #219
Comments
Thank you for your reporting!
What does this mean? |
Thanks for a quick reply @mob-sakai 🙇🏻♂️ I suggest moving the TextMeshPro Support, and ShaderGraph Support components from Samples to the Dependencies section under "Is using.". This way they will be auto-imported with the package: |
Careful consideration is required regarding package dependencies.
Do you have any good ideas? |
Hmm fair points, I saw that you are already working on the tmpsupport import on load, that would've been my suggestion too. The simplest fix might be to warn users that TMP is installed but TMPSupport wasn't imported 👍🏻 |
Yes, I think that’s a great idea. 👍 For example, in TextMeshPro, a dialog appears when the required resources have not yet been imported. |
Awesome, thank you! |
Can't this be solved by a preprocessor during package installation i.e |
In practice, the |
# [3.2.0](3.1.2...3.2.0) (2025-01-03) ### Features * automatically display a dialog to import samples for TextMeshPro or Spine ([a122057](a122057)), closes [#219](#219) * change the minimum value of `SoftMaskable.power` from 1 to 0.5, allowing for smoother softness transitions ([3d59755](3d59755)) * Spine support ([7677a49](7677a49)), closes [#218](#218) [#221](#221) * support `TextMeshPro/Bitmap` and `TextMeshPro/Mobile/Bitmap` shaders. ([6d4900c](6d4900c))
🎉 This issue has been resolved in version 3.2.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
The TextMeshPro Support and TextMeshPro (ugui 2.0) are currently available as optional sample imports in the UI Soft Mask package.
Could these be made into direct dependencies instead?
Our team frequently encounters rendering issues when designers and artists forget to import these samples. Making them required dependencies would help prevent these problems.
Thank you!
The text was updated successfully, but these errors were encountered: