HSL shader on Windows Phone 8.1 causes engine crash

Bugs will be moved here once resolved.

Post » Wed Jan 07, 2015 6:05 am

Problem Description
When adding an HSL shader effect on Windows Phone 8.1 it causes the engine to crash upon startup. It doesn't matter if the effect is on a layer or on an individual sprite. This error did not occur on Windows phone 8.0 since effects via WebGL were not supported

Description of Capx
The Capx has two spirtes and a HSL effect on a single layer.

Steps to Reproduce Bug
  • Run the attached Capx on Windows Phone 8.1

Observed Result
An error with a stack trace is immediately thrown followed by a second error. Attached below:

Image

Image

Image

Image

Expected Result
The two sprites to be show with the values of the HSL shader reflected on the layer.

Affected Browsers
  • Chrome for Android: (NO)
  • Chrome: (NO)
  • Internet Explorer on Windows 8.1: (NO)
  • Internet Explorer on Windows Phone 8.1: (YES)

Operating System and Service Pack
Windows Phone 8.1 - Lumia Denim

Construct 2 Version ID
r190

P.S. Side note. I tested a number of other shaders on WP8.1 and the half dozen I tried worked great.

Thanks!
You do not have the required permissions to view the files attached to this post.
B
45
S
11
G
7
Posts: 144
Reputation: 6,419

Post » Wed Jan 07, 2015 11:41 am

Afraid there's nothing we can do about this: the bug is in the Windows Phone 8.1 shader compiler. (The "Internal linking error" means IE failed to compile the shader, which AFAIK is perfectly standards compliant.)

Early versions of desktop IE were affected too, but they got fixed via Windows Update. Windows Phone is on a slower release cycle, unfortunately I think you'll just have to wait for the next update.
Scirra Founder
B
387
S
230
G
87
Posts: 24,245
Reputation: 192,210

Post » Fri Jan 09, 2015 5:21 am

Bahhhh! Not the answer I was hoping for but I understand.

Two questions though. First off I was hoping I could disable the effect and only re-enable it when the system running the game is not WP8.1. I tried this but it still crashes even if the effect is disabled on start. I'm guessing this has to do something with compiling the shaders? Are there any ways you can think around this so I can still maintain one codebase?

Second question is will you be submitting a bug report for this? If not do you know where I can submit and what information I should include in the ticket?

Thanks!
B
45
S
11
G
7
Posts: 144
Reputation: 6,419

Post » Fri Jan 09, 2015 5:24 pm

C2 compiles all shaders the project uses on startup, so I'm afraid it will crash on WP8.1 if the shader is used anywhere in the project.

I'm not sure there's much point filing a bug report since as far as I can tell it's already fixed (since the latest IE is not affected) - the only problem is the fix hasn't reached WP8.1 since it's on a much slower cycle. So it's just a matter of waiting for the already-fixed code to reach devices.
Scirra Founder
B
387
S
230
G
87
Posts: 24,245
Reputation: 192,210


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 1 guest