umi
umi copied to clipboard
Custom Font on Android
For some reason, the custom font is not displayed in an Android build of our Unity project, but iOS works fine. If I build the plugin with the DemoScene in a completely new Unity project on Android, it works without problems. But when I build your DemoScene on our Unity project, it doesn't work.
Could it be that it is not compatible with some other plugin that we use or do you have another tip on what this could be?
So, seems, your project settings or some plugins brake smth. Build app, and try to profile it with ADB.
Unfortunately I don't see any errors in the log :(
Mate, I can't debug your project :) If demo works fine, and your project doesn't, than causes in your project. Did you add all files and make Plugin object to receive messages from plugin?
I am also not able to get the Custom font to work, not even in your demo scene in a fresh project (2019.4.19 & 2020.2.3) . Even tried it with opening the demo scene directly from explorer so that it opens a new Unity project and uses your project settings.
(On 2020.2.3 I do get an error that Gradle min-sdk could not be specified and needs to be removed. After removing the min-sdk part from AndroidManifest it built successfully, but no custom font. )
On your demo scene's SingleInputField I set the Custom font name to 'Chilanka'. Is there another step I am missing?
Also wondering the same thing...
Seems, need more tests...
I'm in the same boat. I tried this last night using Android 10 with three different copies of the same project: 2019.3.9f1, 2019.4.25f1, and 2020.3.6f1. In all cases, I used Chilanka for the SingleInputField and while the rest of the functionality worked flawlessly, I wasn't able to get the custom font to appear.
If I make any headway debugging this, I'll post my results here.