Skip to main content
bit-horder
Participant
Oct 20, 2014 8:29 AM UTC
Question

Unable to create Context3D on Android 5.0 when using latest Air 15 SDK

I have updated my Nexus 5 to the latest developer preview of Lollipop, and I can no longer run our game.

The same code worked find in the prev. developer version of Android L.

The code I can't get to work is:

stage.stage3Ds[0].addEventListener(Event.CONTEXT3D_CREATE, function(e:Event):void { trace("worked"); });
stage.stage3Ds[0].addEventListener(ErrorEvent.ERROR, function (e:Event):void { trace("failed" + e); });
stage.stage3Ds[0].requestContext3D();

It just fails with the error
[trace] failed[ErrorEvent type="error" bubbles=false cancelable=false eventPhase=2 text="Error #3702: Context3D not available." errorID=3702]

I have already create a bug report (Bug#3841130 - Stage3D fails to create context on Nexus 5 running Android 5.0), but would like to know if it's happening to anybody else, or it's just my device that's messed up (I only have access to one Android L device).

This topic is closed to new replies. Start a new post to keep the conversation going.

14 replies

prodikl
Participant
Oct 22, 2014 6:01 AM UTC

I'm having the same problem. A Starling app of mine worked fine on 4.4 and below, but on 5.0 it can't find context.

I'd also like to add that a native AIR app I made using GPU-mode and cacheAsBitmapMatrix that used to run 60fps on 4.4 now runs really choppy. It seems that AIR on 5.0 can't access the GPU at all?

Translate
Pahup
Adobe Employee
Adobe Employee
Oct 24, 2014 1:39 AM UTC

Hello Everyone,

This issue is now fixed in latest AIR SDK 15.0.0.349 @ http://labs.adobe.com/downloads/air.html

Please let us know if you face any issues.

Thanks

-Pahup

Translate
MM_Punya
Participant
Oct 24, 2014 3:02 AM UTC

Works for me. Thank you.

- Punya

Translate
chris.campbell
Legend
Oct 20, 2014 5:36 PM UTC

Thanks for the heads up.  I know we have fixes for lolipop coming in our November release but I'm not sure if they made it into our current beta.  Have you given last week's labs release a try?

I've pinged the team and given them a heads up on this thread and bug report.  We'll update with more info asap.

Thanks,

Chris

Translate
MM_Punya
Participant
Oct 21, 2014 6:34 AM UTC

I am also seeing this issue with my AIR application running Android 5.0.

I'm using the latest Air SDK 15 Beta (The one that was updated on October 17th).

Good to hear that its being looked into.

- Punya

Translate