Duplicate Warning Appears When Registering Multiple Font Asset Files in an Asset Table Collection

Unity Version: 2022.3.55.f1 / 6000.0.34f1
This is not a bug, so I believe it can be reproduced in any version.

Steps to Reproduce:

  1. Create an Asset Table Collection in the Localization Table.
    The Localization Table is set up with at least two languages (e.g., English, Japanese).
  2. Add a separate TMP_FontAsset for each language in the columns.
    The Font Asset files were created using the Font Asset Creator.
    Different assets are assigned for each language.
  3. Build the project, and the following warning appears:

arduino

2 Duplicate Assets were detected in the build.
Removing duplicated Assets could result in up to 82.50KB
reduced build size.

The affected files are:

Assets/TextMesh Pro/Shaders/TMP_SDF.shader
Assets/TextMesh Pro/Shaders/TMP_SDF-Mobile.shader

How can I resolve this warning?
Should TMP_FontAsset not be registered in the Asset Table Collection in the first place?

Hi,
Could you please file a bug report so we can investigate? https://unity3d.com/unity/qa/bug-reporting

Not a bug, but I sent it just now.

1 Like