Windows Lock Screen Breaks Away3d

Software: Away3D 4.x

tencent, Newbie
Posted: 23 March 2012 05:54 PM   Total Posts: 8

I believed, at first, I was doing something wrong however looking at some of the examples such as the Nissan demo, they also exhibit the same issue I am having.

When viewing a project, such as the Nissan demo, either lock your screen with windows key + L or just hit ctrl + alt + delete. Either of these two actions on Windows 7 (and I presume everything back to XP) will force screen interaction to return you to the desktop. After returning to your desktop the movie, be in a browser or stand alone player, will no longer be running.

In the stand alone player I get a completely black screen where any 3d elements should have been. 2D elements such as buttons are still present. Viewing in Chrome displays the issue exactly like the standalone player. Viewing in IE will initially display a render of the last frame viewed before the screen was locked however re-sizing will cause the player to go to the black screen as seen in the stand alone player and chrome.

Being that this only happens to the 3d elements and it only seems to happen in away3d (I tried other 3d examples from other flash engines) am I, and apparently others, missing a step where we need to either reload our content or is this an engine problem?

Example Link:
http://www.nissan-stagejuk3d.com/

Left image is pre locking the screen
Right image is post locking the screen

 

   

tencent, Newbie
Posted: 26 March 2012 12:14 PM   Total Posts: 8   [ # 1 ]

Can anyone else confirm this? Not sure if it is a bug or something I am doing wrong.

   

tencent, Newbie
Posted: 28 March 2012 02:42 PM   Total Posts: 8   [ # 2 ]

Anyone??? Can someone just confirm they are seeing what I see? ....

   

Avatar
maddog, Sr. Member
Posted: 28 March 2012 02:58 PM   Total Posts: 118   [ # 3 ]

same thing happens if you switch orientation. View3d does not render anymore. not sure why though.

   

Avatar
mrpinc, Sr. Member
Posted: 28 March 2012 03:24 PM   Total Posts: 119   [ # 4 ]

This happens because the OS going to lock screen causes the app to lose 3D Context.  Adobe has stated losing context ca also occur on orientation change.  Currently Away 3D does not support regaining context.  Being able to support this requires more memory but it would be nice if Away3D offered users this option.

   

tencent, Newbie
Posted: 28 March 2012 08:57 PM   Total Posts: 8   [ # 5 ]

Is there an event that captures when this happens? I assume all we need to do is run through the display initialization again to get everything back on the screen that should still be there. I make this assumption based on the Away memory/fps tool seems to drop significantly in memory usage after a lock screen event.

If there is not an event that captures this I will reluctantly have to switch to a different engine as the use case for my application requires that this functionality is implemented.

   

John Brookes, Moderator
Posted: 28 March 2012 09:52 PM   Total Posts: 732   [ # 6 ]

Have you tried with the latest player?
I dont get this issue with any of my own stuff or that nissan site.
Never tried before installing latest player.

   

tencent, Newbie
Posted: 28 March 2012 10:45 PM   Total Posts: 8   [ # 7 ]

11.1 and 11.2 both exhibit this issue across 5 different computers I have access to. Just to clarify again, this is not limited to a specific browser or stand alone player. The issue exists in all players regardless of their container or lack of container.

   

John Brookes, Moderator
Posted: 28 March 2012 11:32 PM   Total Posts: 732   [ # 8 ]

No dont have the issue 11.2.202.228 player.
win7 64 bit
firefox
I can lock screen through win key L or ctrl alt dlete and carry on.
Nothing disapears.

Just tested chrome with 11.1.102.63 player, still no issue.

   

Rayen123, Member
Posted: 02 May 2012 10:12 PM   Total Posts: 70   [ # 9 ]

Hi,
I have HTC 3D EVO (android 2.3), and instaled AIR 3.2 BETA.
If I play my away3D game, and lock phone during is the game on screen, and unblock phone, it is the same (black view3D). :\ ...

Is still not solution for this ?

   

tencent, Newbie
Posted: 21 June 2012 11:12 AM   Total Posts: 8   [ # 10 ]

So can the away3d team acknowledge that this is an issue. While it does not affect all machines this is most definitely an issue. Apparently its an issue on mobile as well.

   

John Brookes, Moderator
Posted: 21 June 2012 11:43 AM   Total Posts: 732   [ # 11 ]

Try the release branch, I think it got fixed it in that.

Reason it never happened when I tested, that PC was intelHD, no GPU.

   

tencent, Newbie
Posted: 21 June 2012 11:58 AM   Total Posts: 8   [ # 12 ]

I am using a copy from the GIT repo from about a week ago. Away3D.as shows the version as 4.0.6. The bug still exists for me.

Since you think it may be GPU related this is with an Radeon HD 6350. Same issue still occurs on other PC’s in my office using other cards.

   

John Brookes, Moderator
Posted: 21 June 2012 12:14 PM   Total Posts: 732   [ # 13 ]

Like I said the “release branch” not the master branch.

Both these bugs are what you described and have been closed.
https://github.com/away3d/away3d-core-fp11/issues/269
https://github.com/away3d/away3d-core-fp11/issues/263

   
   
‹‹ Fresnel water

X

Away3D Forum

Member Login

Username

Password

Remember_me



X