Describe the bug
It seems that font imports fail on Windows platforms. I have noticed that the software reports:
importFile(): Could not import file google.ttf, filetype: "" is not supported.
To reproduce
Steps to reproduce the behavior:
- Click and try to import a
TTF file using the OS and browser
- See vague error (could not import FILENAME)
- Open the console
- See error
Expected behavior
A FontAsset should be created and the font should be usable.
Screenshots

Editor version
Both 1.19.4 and 1.19.3 have the same issue.
Device
- Hardware: PC
- OS: Windows 11
- Browser: Chrome
- Version: 151.0.7922.108 (Official Build) (64-bit)
Do you have a suggested solution to this issue? (ex. has another program fixed this bug a certain way? Are you familiar with where in the code base someone would need to fix this issue?)
Maybe we should add filename-based extension checks.
Additional context
This has been discussed on the forums.
Describe the bug
It seems that font imports fail on Windows platforms. I have noticed that the software reports:
importFile(): Could not import file google.ttf, filetype: "" is not supported.To reproduce
Steps to reproduce the behavior:
TTFfile using the OS and browserExpected behavior
A
FontAssetshould be created and the font should be usable.Screenshots

Editor version
Both 1.19.4 and 1.19.3 have the same issue.
Device
Do you have a suggested solution to this issue? (ex. has another program fixed this bug a certain way? Are you familiar with where in the code base someone would need to fix this issue?)
Maybe we should add filename-based extension checks.
Additional context
This has been discussed on the forums.