Skip to main content
bit-horder
Participant
October 20, 2014
Question

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

  • October 20, 2014
  • 2 replies
  • 8374 views

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 has been closed for replies.

2 replies

prodikl
Participant
October 22, 2014

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?

Pahup
Adobe Employee
Adobe Employee
October 24, 2014

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

MM_Punya
Participant
October 24, 2014

Works for me. Thank you.

- Punya

chris.campbell
Community Manager
Community Manager
October 20, 2014

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

MM_Punya
Participant
October 21, 2014

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