Unity Issue Tracker - Font Data is forced to be included when building to Dedicated Server platform
Fixed
UUM-713
Font Data is forced to be included when building to Dedicated Server platform
Unity: Dedicated Server
Fixed
2023.3.X
2023.2.X
Won't Fix
2023.1.X
2022.3.X
2022.2.X
2022.1.X
2021.3.X
Automatic shaders and fonts stripping for Dedicated Server builds were introduced as a new feature starting at 2022.3 when the `Enable Dedicated Server optimizations` option is active in the player settings.
How to reproduce:
1. Open the user's attached project
2. Go to File -> Build Settings
3. Switch platform to Dedicated Server, set Target Platform to Linux
4. In the Project view, select the Arial font
5. In the Inspector, deselect the Include Font Data checkbox and click Apply
6. Observe the Console
Expected result: no message is logged to the Console, font data can be excluded from the build
Actual result: a message is logged: "The target platform does not have access to any system fonts. Including Font data even though the importer is set not to."
Reproducible with: 2021.3.3f1, 2022.1.1f1, 2022.2.0a14
Could not test with: 2019.4.39f1, 2020.3.34f1 (Linux Dedicated Server Build support not available)
Prioritise and Follow this issue
Have a workaround or additional info about this issue?