Move TextMeshPro Essentials directory elsewhere?

Hello! Is it possible to move the TextMeshPro Essentials at the root of Assets/ to a subdirectory? If not, is it possible to implement this soon so that TextMeshPro is not cluttering up the Assets directory?

Thanks!

The TMP Essential Resources are imported in ā€œAssets/TextMesh Pro/ā€¦ā€. Since these resources like font assets, sprite assets, etc. can be edited and can be referenced in code or in the text itself, these resources must be contained in the Assets folder itself (ie. they cannot be contained outside the project or in the package as all packages are read-only).

1 Like

Having them in Assets is fine, just not the root of the directory. I’d rather move them to a subdirectory in Assets, such as ā€œAssets/Plugins/TextMesh Pro/ā€¦ā€ for example

4 Likes

I do not recommend moving the ā€œTextMesh Proā€ folder as although it is possible to move this folder to some other sub folder, as the TMP Essential Resources or TMP Examples & Extras get updated from time to time, this will make the re-import process more complicated in the future.

In terms of sub folders, please note that ā€œPluginsā€ is a special folder in Unity reserved for Native plugins. As such, I would suggest using some other sub folder.

1 Like

I understand. Would it be possible to support this natively in the future as part of TextMeshPro to avoid any issues if the assets are moved?

2 Likes

Although this is a minor issue, I would second this feature request. Perhaps an option to specify the TextMesh Pro folder path in the TextMesh Pro window within Project Settings would be a good middle ground?

2 Likes

I also second this request. I understand there may be strong reasons behind this.

But if we may end with 5 different tools similar to TextMeshPro, we won’t be able to keep a cleaner structure under Assets folder in the project.

1 Like

I would agree, having the ability to move the TMP to a subdirectory of ā€œAssetsā€ would be nice to tidy up folder structures, especially when you are dealing with lots of plugins and packages.

1 Like

any news about this? other unity packages also create folders that completely ruin our project structure. so it would be nice if we could define a default folder for unity to store such data.

I don’t know if this is normal but when I tried to move it unity just crashed.

I’ve cheked TMP_Settings ScriptableObject and figured out that Fonts and other stuff are located in relative path to a Resources folder in the project. So I’ve just copied all TMP Examples & Extras crap into my Resources folder in root of Assets.

Resources is also relative and can be anywhere, it’s like a symlink. You could probably bury it in yet another dir.

Apologies for necro, but this is still the most relevant. Any update on this? This makes life hellish for those that need to stuff everything in 1 dir like for the asset store.

3 Likes

Currently going through this issue. TextMeshPro is a dependency for my asset. But all dependencies must be shoved into /Assets/MyAssetPackage/TextMeshPro/

Official word on a recommendation? This page is a ā€˜top result’ when googling ā€œwhere folder location textmeshpro asset packageā€

Thanks!

2 Likes

Just got bitten by this as well. As several others have noted, it’s not a huge issue, but I expect most developers would consider magical, fixed directory locations to be an unfortunate anti-pattern. I’ve not run across anything else in Unity that has such a strict baked-in location. And as others have suggested, this pattern would get ugly very quickly if other packages used the same approach.

3 Likes