-
-
Notifications
You must be signed in to change notification settings - Fork 21.1k
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
Crash on 'Generate POT' when Dictionary-modifying Method is Present #79697
Comments
Logs from console:
|
The subject appears to be more extensive. The crash also happens with files that are not autoloaded singletons. |
Having thoroughly investigated the issue, I can confirm that the problem is not limited to autoloaded singletons. It occurs with any file that has a method modifying any dictionary. This indicates that the bug is critical and is almost always present. Below, I present an example that does not use an autoloaded singleton. translation_crash_2.zip |
The generation problem also occurs in many other unidentified cases. |
The problem occurs on various operating systems. Today I tested on macOS. |
Today I've tested all stable versions of Godot 4: And latest dev 4 from godot 4.2. On all this godot versions problem exists. Issue has been updated. |
Just a little shoutout to the gold member sponsorship. Made me curious 😆 |
Godot version
4.0 -> latest
I've tested all this versions:
4.0, 4.0.1, 4.0.2, 4.0.3, 4.0.4
4.1, 4.1.1
4.2 dev 4
in all this versions problem exists.
System information
Fedora 38, macOS
Issue description
I have found a very strange bug while generating translations. The presence of a method modifying the dictionary's content causes the editor to crash during the generation of the translation template.
The mere presence of an uninvoked method causes a crash.
Edit: The issue occurs not only with singletons. Any script containing a method that modifies any dictionary leads to a crash.
Steps to reproduce
Project -> Project Settings -> Localizations -> Generate POT -> Add (Add your singleton)
Project -> Project Settings -> Localizations -> Generate POT -> Generate
And... Crash.
Nagranie.ekranu.z.2023-09-14.13-10-42.webm
Minimal reproduction project
translation_gm_crash.zip
Just open project and go to: Project -> Project Settings -> Localizations -> Generate POT -> Generate
The text was updated successfully, but these errors were encountered: