defold / editor2-issues

DEPRECATED
44 stars 4 forks source link

Can't start the game with debugger attached (F5) #2926

Closed karlqueckfeldt closed 4 years ago

karlqueckfeldt commented 4 years ago

Expected behaviour

The game should start with debugging.

Actual behaviour

This error message appears. image

Trying to then start again, this message appears. image

Steps to reproduce

Press F5 to start with Debugger.


Build time2020-03-03T08:34:30.874440
Defold channeleditor-alpha
Defold editor sha95fcc9ca28d33583c7103c40c0c54cc73143e322
Defold engine sha5295afb3878441fb12f497df8831148525dcfb10
Defold version1.2.166
Error82c1044e09ea47f493862103950f2bdd
GPUIntel(R) HD Graphics 620
GPU Driver4.5.0 - Build 26.20.100.7263
Java version11.0.1+13
OS archamd64
OS nameWindows 10
OS version10.0
britzl commented 4 years ago

But you're able to connect to the device and launch your game to it?

karlqueckfeldt commented 4 years ago

But you're able to connect to the device and launch your game to it?

Sorry maybe I'm misunderstanding something. I'm just trying to run the debugger on one computer by pressing F5, no external devices connected.

britzl commented 4 years ago

Ah, got it. Ok, and I'm assuming that running without debug works?

Is it possible that there's some Windows setting/firewall preventing a connection from the editor to the running game (127.0.0.1:some_port)?

britzl commented 4 years ago

Oh, can you build and run and then connect the debugger when the game is running, or do you get the same error?

karlqueckfeldt commented 4 years ago

I tried this again today and I don't seem to experience this issue anymore. Running the game with the debugger works fine now, as well as starting without debugger and attaching it after the fact. I have seen the issue come and go, so it might just be as you say that it's because of some firewall configuration and what network I'm on.

britzl commented 4 years ago

Ok, good to hear that it works better now! With a lot of people now working from home due to the Coronavirus, maybe you had a VPN connection active when it didn't work? Perhaps the VPN caused problems?