最近搜索


没有最近搜索

Zendesk Unity SDK - Mandatory fonts add ~20-30mb to the app size



已于 2024年10月08日 发布

The Zendesk Unity SDK adds approximately 30 MB to the application size due to the mandatory fonts included in the plugin.

We need a way to provide our own fonts from the project since we already support all the required languages. Many projects cannot accommodate this kind of overhead with 30 MB of unnecessary fonts.
 

Our current approach is to copy the package locally and remove all fallback fonts from the provided font asset. Of course, this will lead to losing support for hieroglyph characters, but it reduces the size to only about 1-2 MB using the dynamic Roboto font.

Another approach would be to change all references of TextMeshProUGUI fonts in the prefabs located under the Resource folder to our own fonts. However, this approach is not ideal for us because Zendesk is integrated as an additional module to our core plugin, which then goes to all other projects, and each project may have its own font.
 

Ideally, it should work with Zendesk as a plugin by creating a few variants of prefabs with the required changes (such as changing the font) on the project side (thus, no Resource folder inside the plugin). Currently, there are many prefabs, and it would be a real pain to create their variants and change references in ScriptableObjects and other prefabs.

 

This is duplicate of ticket, because no one responding and issue is critical - https://support.zendesk.com/hc/en-us/community/posts/7773018958618-Zendesk-Unity-SDK-Mandatory-fonts-add-20-30mb-to-the-app-size


0

0

0 条评论

请先登录再写评论。

找不到所需的内容?

新建帖子