ERROR:http_transport_win.cc(178)] WinHttpCrackUrl: The operation completed successfully. (0x0) game

Hello Everyone,

We've had a few user reports of crashes to desktop with one of our games, especially when a battle ends and under certain circumstances.

No error shows on the game screen, the game just disappears, but this can be seen in the log:

Code:
ERROR:http_transport_win.cc(178)] WinHttpCrackUrl: The operation completed successfully. (0x0)

What on earth could be causing this, it is so strange.

One user said clearing his cookies and history from edge of all things fixed the crashes, which just makes it even weirder.

EDIT:

I managed to fix it, it seems to have been related to a steam plugin being enabled when people didn't have steam running in the non-steam version. Weird error. 😀
Have you done anything that would affect NW.js in any way (i.e. changed the version of NW.js, messed with the package.json file, compiled your javascript files to binary)?
Have you done anything that would affect NW.js in any way (i.e. changed the version of NW.js, messed with the package.json file, compiled your javascript files to binary)?
Everything is standard as far as I'm aware, other than updating NW.js to enable a steamworks plugin.

I haven't been able to replicate the error on my own machine.
Have you done anything that would affect NW.js in any way (i.e. changed the version of NW.js
other than updating NW.js to enable a steamworks plugin.
That's literally what he asked 🤣

What version did you change it to?
That's literally what he asked 🤣

What version did you change it to?
I meant the other stuff he mentioned. I blame lack of sleep 🤣

The NW.js is nw: "0.48.4" according to the console.
I just had a wild idea, I did release a demo a few months back for the same game, the error wasn't reported to be happening at that time, so the issue seems to be with the main build of the game.

Nothing with NW.js has been changed since before that build.

I've been searching about this error a lot and found some tidbits of information, other games that had the same issue found that deleting certain files created by their games in the appdata folder fixed the crashes.

Could it be that people who played the demo or other RPG Maker MZ games are running into an error because of this appdata folder?

It seems RMMZ games automatically default to a "rmmz-game" folder.

I wonder if I could test it by giving a build to one of the people experiencing the crashes but changing the "name" field in the package.json so that it creates a brand new appdata folder.

It would test my theory before asking them to delete anything.

Original thread: https://forums.rpgmakerweb.com/threads/error-http_transport_win-cc-178-winhttpcrackurl-the-operation-completed-successfully-0x0-game.167920/