Sound Issue

Bugs will be moved here once resolved.

Post » Mon Aug 08, 2016 2:05 pm

Problem Description
The sound effects do not play right away when touching an object with a sound, untiil it preloads. It won't preload properly, when I set it to.


Steps to Reproduce Bug
  • Set an object to play a sound on the map.
  • Touch the object to trigger the sound on the map. No sound will play.
  • Touch another object with the same sound, the sound will play.


Sample
Touch a crystal. When hearts appear use WASD or mouse to move, your sprite will appear afterwards. it is a bug that I need to fix.
https://dl.dropboxusercontent.com/u/671 ... index.html


Observed Result
No sound played on first object.



CAPX
https://dl.dropboxusercontent.com/u/671 ... dTest.capx


Expected Result
Sound plays and preloads correctly, or preloads then plays afterwards.


Affected Browsers
  • Chrome: (YES)
  • Others not tested, the preview wouldn't work for other browsers.


Operating System and Service Pack
Windows 10 latest version.


Construct 2 Version ID
233.
Last edited by Helladen on Thu Aug 18, 2016 5:19 am, edited 10 times in total.
Image
B
20
S
4
Posts: 105
Reputation: 2,315

Post » Mon Aug 08, 2016 2:24 pm

Helladen wrote:Problem Description
The sound effects do not play right away when touching an object with a sound, untiil it preloads. It won't preload properly, when I set it to.

Steps to Reproduce Bug
  • Set an object to play a sound on the map.
  • Touch the object on the map. No sound will play.
  • Touch another object, the sound will play.

Observed Result
No sound played on first object.

Expected Result
Sound plays and preloads correctly, or preloads then plays afterwards.

Affected Browsers
  • Chrome: (YES)
  • Others not tested, the preview wouldn't work for other browsers.

Operating System and Service Pack
Windows 10 latest version.

Construct 2 Version ID
223.


You must follow the Beug Report Requirements if you want Ashley to investigate or he will close the report automatically.

Also, are you sure you are using r223 as that is very old now?
If your vision so exceeds your ability, then look to something closer.
Moderator
B
131
S
29
G
81
Posts: 5,328
Reputation: 56,630

Post » Mon Aug 08, 2016 4:15 pm

I updated the bug report to be version 233. It is a preload problem with the codebase, it doesn't preload the sound when loading the map. I believe it isn't the sound it isn't preloading, something in the code like the 3-D position and some sort of low-level sound engine is not loaded early enough.

Making a sample CAPX is just setting a sound on an object and touching that said object. Ashley can make this very quickly himself. It isn't something that needs to be demonstrated.

[EDIT]: Added a sample project hosted on Dropbox.
Image
B
20
S
4
Posts: 105
Reputation: 2,315

Post » Tue Aug 09, 2016 10:24 am

Closing as per the bug report requirements: we need a minimal .capx, not your exported project. The requirements explain in detail why we are strict about this and why you should never ignore them.
Scirra Founder
B
387
S
230
G
87
Posts: 24,249
Reputation: 192,240

Post » Thu Aug 18, 2016 5:04 am

@Ashley, many users have reported this problem already. I have seen you reply about it before. I just won't use Construct 2, it is too buggy. Anyway I updated the main topic with the CAPX, but it doesn't matter if you fix it or not. Not gonna waste my time using this anymore.
Image
B
20
S
4
Posts: 105
Reputation: 2,315

Post » Thu Aug 18, 2016 2:37 pm

@Helladen
@Ashley
So I do see the reported sound issue on browser first opening only in Chrome and FF, but not in Edge or IE, so it is browser specific. The same defect is in NW.js as expected. A very noticeable frame rate drop is seen on my device (Surface pro 3, i7 + Win 10) with the first trigger event that doesn't play sound and this is associated with the inspector estimating very heavy CPU usage. It does appear to be an issue?
B
18
S
12
G
1
Posts: 45
Reputation: 2,340

Post » Fri Aug 19, 2016 10:45 am

Yes the sound is not being preloaded (either the 3-D sound system or actual file).
Image
B
20
S
4
Posts: 105
Reputation: 2,315

Post » Wed Aug 31, 2016 12:37 pm

This is a Chrome bug which has been fixed: https://bugs.chromium.org/p/chromium/issues/detail?id=602668

I can confirm it reproduces in Chrome 52 (stable) but works fine on Canary (55), so Google have already fixed this and you just need to wait for the update to reach stable.
Scirra Founder
B
387
S
230
G
87
Posts: 24,249
Reputation: 192,240

Post » Thu Sep 01, 2016 4:53 am

This still happens in Chrome 53.
Image
B
20
S
4
Posts: 105
Reputation: 2,315


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 2 guests