NW exported game not starting due to Audio Plugin

Bugs will be moved here once resolved.

Post » Thu Sep 10, 2015 6:39 pm

Problem Description
NW Webkit not running game after export due to audio plugin.

Attach a Capx
http://www.pileofcrab.com/Apps/AudioBug ... 20Bug.capx

Description of Capx
All plugins used in my game are in this clean capx.
Exporting with the audio plugin results in not running.
Exporting without the audio plugin results in Running.

Steps to Reproduce Bug
[*] Step 1 Export NW with audio plugin.
[*] Step 2 Run and see bug.
[*] Step 3 Export without Audio plugin. ( Run and see no bug)[/list]

Observed Result
As explained the audio plugin crashes a node webkit exported game.
It is not minified.

Expected Result
The game running with the audio plugin in it.

Affected Browsers
[*] Node Webkit

Operating System and Service Pack
Windows 7 Service pack 1

Construct 2 Version ID
Beta Release (r213)
B
59
S
21
G
14
Posts: 779
Reputation: 13,927

Post » Fri Sep 11, 2015 8:21 am

I get this too.
B
98
S
35
G
11
Posts: 289
Reputation: 13,082

Post » Fri Sep 11, 2015 7:09 pm

The same problem has been removed audio plugin and it worked.
B
17
S
4
G
2
Posts: 15
Reputation: 2,879

Post » Sat Sep 12, 2015 3:28 am

How do we remove the audio plugin?
B
98
S
35
G
11
Posts: 289
Reputation: 13,082

Post » Sat Sep 12, 2015 4:27 am

B
22
S
3
G
2
Posts: 30
Reputation: 3,693

Post » Sat Sep 12, 2015 11:57 am

As Stachir says, change the line of c2runtime.js file, the line let ret = 0; replace it with var rest = 0;

With this works.
B
17
S
4
G
2
Posts: 15
Reputation: 2,879

Post » Sat Sep 12, 2015 4:57 pm

had same problems yestarday night, while previewing with the audio plugin in NW.js was working... when i was previewing on firefox or chrome the audio.plugin.js error pop-d up .. when i exported for Nw.js just a black screen.. i downgraded to r212.2 installed it everything works perfect... il try again the r213 with the audio plugin from r212.2 inside maybe thats going to be fixed... btw i seen audio plugin has some settings when that happened ?XD those where not even existent
B
78
S
23
G
69
Posts: 1,353
Reputation: 44,025

Post » Sun Sep 13, 2015 4:25 am

Eh...that only fixes the issue when running in Chrome, not NW.JS. I'm gonna roll back to r212.2 for now...
B
98
S
35
G
11
Posts: 289
Reputation: 13,082

Post » Tue Sep 15, 2015 1:56 am

Read this to roll back: https://www.scirra.com/tutorials/442/ho ... onstruct-2

I have the same issue btw, Win64, latest Java 8 64, had to roll back, hopefully Ash will fix this in the next release!
B
66
S
22
G
4
Posts: 360
Reputation: 6,584

Post » Wed Sep 16, 2015 11:39 pm

Here is my quick fix! audio-plugin-issue-fix-for-r213-blank-screem-minify-etc_t153975
Download and replace the Audio plugin I uploaded. Worked 100% for me.
Create your own Isometric Runner Game using C2:

Image

Check out my game "Last of the Survivors":
Play Store
App Store
B
60
S
14
G
2
Posts: 427
Reputation: 5,564

Next

Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 2 guests