TMPro Dynamic Data Cleaner
com.starasgames.tmpro-dynamic-data-cleaner is an OpenUPM Unity package. TextMeshPro dynamic font assets have a very annoying habit of saving their dynamically generated binary data in the same text file as their configuration data. This causes massive headaches for version control. This script addresses the above issue. It runs whenever any assets in the project are about to be saved. If any of those assets are a TMP dynamic font asset, they will have their dynamically generated data cleared before they are saved, which prevents that data from ever polluting the version control. Credits to @cxode from unity forum: https://forum.unity.com/threads/tmpro-dynamic-font-asset-constantly-changes-in-source-control.1227831/#post-8934711
Install this package from the OpenUPM scoped registry with the instructions on this page, or use openupm-cli to update Packages/manifest.json.
Repository: https://github.com/STARasGAMES/tmpro-dynamic-data-cleaner.
Owner: STARasGAMES.
Topics
Related Unity Packages
- Giezi's Scriptable Object Variant ch.giezi.tools.scriptableobjectvariant
- Trimmer ch.sttz.trimmer
- NestBuilder com.bedtime.nest-builder
- Scene Keeper com.brunomikoski.scenekeeper
- Scriptable Object Collection com.brunomikoski.scriptableobjectcollection
- Gamepangin com.gamelokal.gamepangin
For registry setup problems, see Unity scoped registry troubleshooting.