Skip to content
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

Game crashes on HTTP request #185

Open
luiscesjr opened this issue Sep 15, 2023 · 3 comments
Open

Game crashes on HTTP request #185

luiscesjr opened this issue Sep 15, 2023 · 3 comments

Comments

@luiscesjr
Copy link

luiscesjr commented Sep 15, 2023

I'm experiencing a strange crash, which actually does not leave an error behind on the console, it simply crashes my game.
Upon using breakpoints, I found out that on NakamaHTTPAdapter.gd, on func make_request(), upon getting at the end of the function the game simply crashes. No warnings, nothing.

This happens when I try to authenticate either by using an email and logging in normally, or by using a restore of a last session in my game.

How could I debug this, or has anyone had anything similar to this?

On Godot 4.2, dev 2, this PR was merged, could this have anything to do with this?

To further confirm this suspicion, Nakama Login works for me in 4.2 dev1, but on dev2, dev3 (Which also has an autoload bug) and dev4 this issue is present.

Edit: Latest Godot 4.2 dev5 still has this issue.

@luiscesjr
Copy link
Author

As from the latest PR 186 , I tested the changes on Godot 4.2 dev 5 and the issue is still present, the game still crashes when trying to do any http request.

@luiscesjr
Copy link
Author

Still the same problem on Beta 2, whatever I try to do that involves HTTP requests the game crashes.

And this is hard because I can't really play test my changes in multiplayer, I can't really test on my devices, etc.

What would be a way to debug this and help find the problem if there is no output to the editor nor to the cmd window?

@novabyte
Copy link
Member

@dsnopek do you have any ideas what could cause this issue in Godot Engine?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants