One day GDevelop stopped letting me use the debugger (and hot reload). My preview starts, but I get this message:
“No preview running. Run a preview and you will be able to inspect it with the debugger.”
By using the browser debugging tools, I see errors like this:
59.1b4fd8c2.chunk.js:2 copyFile(C:\Users\User\AppData\Local\Programs\gdevelop\resources\GDJS/Runtime/websocket- debugger-client/hot-reloader.js, C:\Users\User\AppData\Local\Temp\GDTMP--1\preview/websocket- debugger-client/hot-reloader.js) failed: Error: UNKNOWN: unknown error, open 'C:\Users\User\AppData\Local\Temp\GDTMP--1\preview/websocket-debugger-client/hot-reloader.js' e.<computed> @ 59.1b4fd8c2.chunk.js:2
I tried rebooting, uninstall/reinstall, tried the newest nightly build, but nothing helped.
I did a Windows filesystem scan, and it detected corrupt files in the “C:\Users\User\AppData\Local\Temp\GDTMP–1\preview\websocket-debugger-client” directory. I have attempted to repair these, but the errors exist even after the repair.
I’m not sure what caused this problem, so I don’t know if it is GDevelop related or not. This could be caused by a failing SSD, but I haven’t seen any other corrupted files except for these.
I’m creating this post in case other people have experienced this. If you have, please reply (especially if you have a fix) but also it will help understand if the cause was related to GDevelop.