-
Notifications
You must be signed in to change notification settings - Fork 4
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
Godot hangs forever when exiting [MacOS] [M2] [ARM] #292
Comments
The bug exists with YAT as the only enabled plugin. Wanted to verify as a sanity check. |
<Project Sdk="Godot.NET.Sdk/4.2.2">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework Condition=" '$(GodotTargetPlatform)' == 'android' ">net7.0</TargetFramework>
<TargetFramework Condition=" '$(GodotTargetPlatform)' == 'ios' ">net8.0</TargetFramework>
<EnableDynamicLoading>true</EnableDynamicLoading>
<RootNamespace>FirstAutoBattler</RootNamespace>
<LangVersion>12.0</LangVersion>
</PropertyGroup>
<ItemGroup>
<Compile Remove="script_templates/**/*.cs" />
</ItemGroup>
</Project> |
Hey, thank you for reporting the bug, and for the suggestion, I will take them into consideration. Unfortunately, I do not own any computer from Apple, nor do I know anyone who could lend me one for testing. As a result, I am unable to diagnose the problem and fix it. In the meantime, please answer the following questions:
I would appreciate it if you would also check if this error occurs under Godot v4.3.dev6.mono. I do not promise that even with the answers to these questions I will be able to fix this bug, due to the lack of access to macOS, but I will try. |
Thank you for getting back to me. This looks like a cool project :)
Yes. It works as expected from my PoV. I can open the terminal and issue commands seemingly without any issues.
Disabling YAT does not cause the editor to freeze. I am fairly confident that freezing only happens under two conditions:
For context, the game freezing when exiting the game also only occurs when the YAT plugin is enabled.
Unknown. I will give this a try and report back.
The problem still occurs in Godot v4.3.dev6.mono. |
Thank you for your reply, I'm glad you like the project despite this bug. Since the error occurs both when closing the editor and the game, it seems to me that the problem may be caused by some static variable. This seems so to me because there is no code in YAT that is marked as Tool (running in the editor) other than the file that adds autoload and one unused that does nothing. I'll go through the Godot documentation, because I may have missed something. You can delete EditorTerminal.cs and EditorTerminal.tscn to verify that surely these unused files are not the problem (although I don't think so). It's a leftover from when I tried to put YAT into the editor, I'll get around to it someday. I also recently released a new version of YAT that fixes a few things I don't think are related to this bug, but the new release itself also adds some cool stuff, so it's still worth checking out.
Just for the record, since you mentioned that you are not experienced with C#. You don't need to install .NET 7, .NET is backward compatible, so just change the appropriate settings in .csproj and everything should work. To make sure everything compiles correctly, you can also delete the .godot folder in your project. Godot may display some errors the first time you run it after deleting the .godot folder, but it will recreate all the files it needs without a problem. |
So I finally managed to install and run macOS Sonoma 14.5 correctly, it works 'well', it's responsive. Unfortunately, the problem arises when I try to run the Godot project, an error about the Vulkan drivers pops up: In turn, running Godot using OpenGL3 results in a white screen: I'm assuming these problems are VM specific, but if you have suggestions on how I can work around this, I'd be happy to use them. |
The bug still occurs under this version unfortunately |
Unfortunately, I don't know how to get around these issues :( Apple doesn't like it when people emulate their OS. |
I'm afraid there is nothing more I can do about this problem for the moment |
That's okay, I appreciate the effort you put into this in the first place. If you decide to add a way to add verbose logging and want to see the output of those verbose logs, let me know |
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Godot exits cleanly.
Actual behavior
Godot hangs forever until I open a terminal and type
kill -9 <pid_of_godot>
Screenshots
![image](https://private-user-images.githubusercontent.com/17239750/335018696-fb85ec11-29c8-4379-a76e-62a1aa4eeea9.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE3MDkzMzUsIm5iZiI6MTcyMTcwOTAzNSwicGF0aCI6Ii8xNzIzOTc1MC8zMzUwMTg2OTYtZmI4NWVjMTEtMjljOC00Mzc5LWE3NmUtNjJhMWFhNGVlZWE5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MjMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzIzVDA0MzAzNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWYyYTNlY2NlMzA1NDFmMTMzNjM0MjYyZDc1NWQ1MmJjMDNhNzc1ODBmMjM5ODI5ZGI5MGJkZGVjMDQwNmNlOGMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.QWU1Klo7JApV_1en_rn3nj0TEF_BK8xuS-zIbyAc1gY)
Desktop/smartphone (please complete the following information):
Additional context
I am a dev, although I am new to Godot, and not very experienced with C#, so, if we need to communicate effectively, please keep this in mind.
I have 3 other plugins installed, This problem only exists when YAT is enabled.
![image](https://private-user-images.githubusercontent.com/17239750/335019153-e2dd3724-0020-47b6-a9ad-96fbedc20184.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE3MDkzMzUsIm5iZiI6MTcyMTcwOTAzNSwicGF0aCI6Ii8xNzIzOTc1MC8zMzUwMTkxNTMtZTJkZDM3MjQtMDAyMC00N2I2LWE5YWQtOTZmYmVkYzIwMTg0LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MjMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzIzVDA0MzAzNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTZhNGYyZTA2NGFkNTk3NGExMjE5ZWQxNjk5NzEwNTc5NTJmNWI3YWNmN2E0M2E2NGVkOGI0ZWQ4ZDgyN2I3NmYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.937mN12d4gxlonzPYyXZfF6J-k9Bn5aRgp7n5xqT-v8)
The other plugins are displayed in the screenshot:
P.S.
You may want to consider adding 2 additions I included to your future bug report template:
The text was updated successfully, but these errors were encountered: