NW.js exported game doesn't launch

Discussion and feedback on Construct 2

Post » Fri Mar 11, 2016 11:06 pm

Hi everyone,

Tonight, I was showing my game at an event for a couple hours already, when suddenly the game shut down. I tried to relaunch it, either the windows 32 bit or 64 bit version (it's a NW.js export) but none ever worked. So I started Construct 2, started a preview with NW.js, and after the quick "starting preview" gauge, nothing happened!

Every attempt to run any version of the game with NW.js simply doesn't start. The only way is to make a preview in Chrome, then it works. I guess a HTML5 build should work too.
I tried reinstalling the latest version of NW.js and reexporting but it changes nothing.

Any idea of what's happening and what I can do? I need to show my game again tomorrow and I would like to use the NW.js version rather than a HTML5.

Thanks in advance for any help!


EDIT :
I've found this bug report from @WeneW, which is the exact problem I have. Did you find a solution to your problem?
B
23
S
5
G
1
Posts: 335
Reputation: 2,406

Post » Sat Mar 12, 2016 8:12 am

Tonight, I was showing my game at an event for a couple hours already, when suddenly the game shut down. I tried to relaunch it, either the windows 32 bit or 64 bit version (it's a NW.js export) but none ever worked.


There is a log-file in the folder of your game, so you could see what goes wrong when you start it.

I tried reinstalling the latest version of NW.js and reexporting but it changes nothing.


Did you uninstall the previous version before? Was the previous version 0.12?
For Construct 217 and higher you need 0.13 and if you install 0.13 over 0.12 you can get very bad side effects.

What you can try:

delete the folder with the name of your game in %userprofile%\AppData\Local\
(I don't know where the folder ist in Windows 10)
B
24
S
3
G
1
Posts: 451
Reputation: 2,165

Post » Sat Mar 12, 2016 11:13 am

Yeah try and backup/delete the "User Data" folder in Users/<username>/Appdata/Local/<yourgamefolder>/. I had the same problem and this fixed it for me. Some kind of bug in nw13 beta 2 if I remember right.
B
38
S
16
G
6
Posts: 537
Reputation: 7,582

Post » Sat Mar 12, 2016 11:19 am

Issues with data seems to be fixed with RC2, local storage files for app protocol AND indexed db files should be migrated
Image Image
B
22
S
13
G
130
Posts: 869
Reputation: 67,816

Post » Wed Mar 16, 2016 9:23 pm

Thanks for the replies. I deleted the folder as advised in the first reply and now it works! :)
B
23
S
5
G
1
Posts: 335
Reputation: 2,406


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 13 guests