How to use TextMeshPro with an Addressable scene?

Hi guys, I’m having problems using TextMeshPro components in my Addressable Scene.

Basically I’ve created a scene and make it as an Addressable bundle, then I uploaded to a bucket and I do the download of the scene when needed. When the scene is loaded all of the texts just desapear, when inspecting the text component in the inspector I can see that the TextMeshPro material is not loaded.

I’ve tried to create a new material and make it as an addressable too, but didn’t work, tryied to make the font folder/atlas as an addressable too and the result is the same.

Is there any way to use TextMeshPro with addressable bundles or is just not possible?

Hi @iDaisuke yes you can mark TextMeshPro assets as addressables. The problem here is that your addressable scene is referencing TextMeshPro assets from your player data, rather than from your bundles. After the scene is loaded, you will need to load the TextMeshPro material and then update the text component to reference the material.

Hi @pillakirsten I tried to make the TextMeshPro asset and all the used shaders as addressable and loading the assets trough the code and update the component but still not working.

Do you have any project samples using this type of implementation so I can take a look and try to figure out what to do?

3 Likes