-
-
Notifications
You must be signed in to change notification settings - Fork 21.9k
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
After I upgraded my Godot from version 4.2 to 4.3, I encountered a persistent error related to text_server_adv every time I opened the project. (macOS Sequoia, Chinese system font) #96101
Comments
If this happens in all projects, but doesn't seem to happen for the vast majority of Godot users, this might be caused to some specific editor settings you have (custom font or custom theme?). Could you check if the problem is solved if you temporarily rename the files |
I tried the method you mentioned. In the corresponding folder, I found
Additionally, I am a Chinese user, and when I open a project using Chinese, the number of errors exceeds 100,000. As I mentioned in my question, thousands of new errors are added after most operations such as saving, opening or switching any scene, and opening sub-windows like the settings. But when using English, there are only a few hundred lines of errors when opening the project, and occasionally a few hundred more errors will occur afterward, but none of these are as numerous as the errors in Chinese. |
CC @bruvzg |
Can't reproduce it. Since it seems to fail to load some font, it might be related to an issue with a system fallback font. |
I remembered something; the night before this error occurred, I adjusted the theme in the editor settings. On the Mac, it doesn’t switch to the dark theme correctly automatically, so I turned off the option to follow the system theme and then toggled between different editor themes, ultimately choosing the Default theme. I didn’t open Godot again after that until the next day when I started Godot and the project was very slow to load, followed by a large number of these errors. I suspect that changing the theme might have caused this issue to happen. |
Is this somehow related to something that macOS Sequoia update have changed? Godot 4.3 runs fine on my M2 MacBook with macOS Ventura installed, but once I updated my computer to macOS Sequoia, this problem occurred. |
Wait. I have just restarted the engine and it had stopped reporting such errors. So strange. |
This comment was marked as resolved.
This comment was marked as resolved.
After a deep research, I think the problem is not with the engine, but probably with some system fonts from macOS 15, /System/Library/PrivateFrameworks/FontServices.framework/Versions/A/Resources/Reserved/PingFangUI.ttc for example. The font lacks the 'loca' table, and this makes it unable to be loaded with freetype library. FYI, here's the stack trace when the editor tried to load the font:
I found a post about this problem (https://forums.developer.apple.com/forums/thread/759219). For now, the best way to avoid this problem may be to skip loading these corrupted font files. |
I solved this problem by download Pingfang font manually. ![]() |
So... I have to install a font to make this error go away? 😓 |
It seems that Apple has fixed this problem in the latest macOS? |
I'm on the latest version of macOS I can update to (Version 15.0 (24A335)) and still seeing this issue. |
In the current version of macOS (15.0 - 24A335), |
How about the latest beta version? (24B5055e) |
Fine. There's still no loca table in PingFangUI.ttc in the latest macOS beta. Maybe Godot somehow managed to skip these broken font files. I wonder if this is due to a change in the system. |
I think we can close this then as worked around by #97693, and the actual issue with the |
Has this issue been fixed and merged into 4.3? In fact, today on my computer, the editor struck completely and I can't enter the editor. When I launched the editor with Rider, I noticed that the error logs mentioned above were being printed frantically. |
@mrkyee You can find this fix in the 4.4 dev 3 and higher. Keep in mind that 4.4 still in development and bugs are expected so a backup of the project is recommended: https://godotengine.org/download/archive/ |
Tested versions
System information
Godot v4.3.stable.mono - macOS 15.0.0 - Vulkan (Forward+) - integrated Apple M2 - Apple M2 (8 Threads)
Issue description
Every project I open with Godot version 4.3 repeats the following error, totaling over 100,000 lines. This occurs whether I open a project converted from 4.2 to 4.3 or create a new project in version 4.3.
Steps to reproduce
Every time I create a new project or open an existing one, I get over 100,000 lines of this error. Additionally, the error occurs every time I press Command + S to save, or when I open any editor sub-window.
Minimal reproduction project (MRP)
I believe this is not an issue with my project; even when I create a brand new empty project, the error occurs. This seems to be a problem with Godot itself.
The text was updated successfully, but these errors were encountered: