You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a game and a scene with a button as a child
create a script to attach to the root node and connect the button event to it
in the on event as mentioned above make sure you add a command to do something "exit the game in this scenario".
Assign the scene as the main scene and test the game, It should start, and when clicking the button it should close. "No problems so far"
Create the GitHub workflow and export entries in Godot. Here is an example that builds the game for windows, Linux, and mac:
When the code is checked in and the workflow runs and succeeds, I get files for the three platforms.
If I test the three games on windows, mac, and Linux the games launch and I can click on the exit button, BUT the game does not close.
I tried buttons and timers so far. I also used the events to show/hide other controls and edit tests just in case the exit feature is broken. They all work before the export, but not after the export.
I am not seeing any errors that indicate an issue. Am I missing something or is this a bug?
The text was updated successfully, but these errors were encountered:
Towfieee
changed the title
Exported Godot Games using game-ci workflow are not recognizing the connected events
Exported Godot Games with C# are not recognizing the connected events
Dec 19, 2023
I also just confirmed that exporting the game from godot directly result in a working game. But exporting it from the godot-ci workflow results in a game that launches up but the events don't work.
Towfieee
changed the title
Exported Godot Games with C# are not recognizing the connected events
Exported Games with Godot-CI and C# are not recognizing the connected events
Dec 21, 2023
Description:
When I launch the game from the editor, the events work as expected. However, when I export the game, the game launches but nothing works.
Error messages:
On M3 Pro Mac I ran the console app and recorded the error that was being thrown by the game:
How to reproduce:
create a script to attach to the root node and connect the button event to it
in the on event as mentioned above make sure you add a command to do something "exit the game in this scenario".
Assign the scene as the main scene and test the game, It should start, and when clicking the button it should close. "No problems so far"
Create the GitHub workflow and export entries in Godot. Here is an example that builds the game for windows, Linux, and mac:
When the code is checked in and the workflow runs and succeeds, I get files for the three platforms.
If I test the three games on windows, mac, and Linux the games launch and I can click on the exit button, BUT the game does not close.
I tried buttons and timers so far. I also used the events to show/hide other controls and edit tests just in case the exit feature is broken. They all work before the export, but not after the export.
I am not seeing any errors that indicate an issue. Am I missing something or is this a bug?
The text was updated successfully, but these errors were encountered: