-
Notifications
You must be signed in to change notification settings - Fork 26.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Out of project font causes the app to crash with an unclear error message #26108
Comments
@GaryQian |
I've seen that error before, but it usually ended up being an unrelated or non-flutter issue such as a corrupted font. I think that error occurs whenever a font is somehow improperly loaded and used. I can try to repro and look at it deeper. |
@modulovalue |
Duplicate of #8403 |
I delete the fonts folder and create it again, then download the ttf file again, the issue fixed! I guess it may be caused by the file error. |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
Steps to Reproduce
I expected that the file would either load or at least an error message would print like that the asset was not found.
Using this font vice versa in google/flutter-desktop-embedding did not crash the app but a fallback font was used there with the following error message printed to the XCode console:
Flutter doctor:
The text was updated successfully, but these errors were encountered: