PTCInc / vuforia-engine

Bug and feedback issue tracker for the Vuforia Engine SDK
https://developer.vuforia.com
20 stars 0 forks source link

Run android build get black screen, after lock and unlock screen then camera works as expected. #42

Closed Weimmer closed 1 year ago

Weimmer commented 1 year ago

Summarize the bug: Import Vuforia and Image tracking asset, build for android, run the app on device, it get black screen, once I lock and unlock the screen then the black screen issue is gone, everything works fine.

Observed problem Run the app on device, it get black screen, once I lock and unlock the screen then the black screen issue is gone, everything works fine.

Expected result Run app and no black screen, the screen rendern the camera view.

Reproducible steps Steps to reproduce the behavior:

  1. Import Vuforia and Image tracking asset.
  2. Run the app on device.
  3. Black screen.
  4. Lock and unlock the screen.
  5. App works as expected.
  6. Affected Vuforia Engine version: v10.16.5

Affected platform:

Affected device:

Workaround Just lock and unlock the screen then works.

ptc-pscheper commented 1 year ago

Hi there, could you provide log files of your app? That could point us to the issue. Also it would be helpful if you can share the device model number.

Please note that this device is not part of the recommended device list and that support could be limited.

Weimmer commented 1 year ago

Hi there, could you provide log files of your app? That could point us to the issue. Also it would be helpful if you can share the device model number.

Please note that this device is not part of the recommended device list and that support could be limited.

Hi, I just got the Infos:

the model number is: SM-T970 log the message: Skipped rendering frame because GfxDevice is in invalid state (device lost)

hope this help. best regards

Weimmer commented 1 year ago

https://forum.unity.com/threads/issue-with-android-skipped-rendering-frame-because-gfxdevice-is-in-invalid-state-device-lost.1449145/ I think the reason is here, in case someone has some issue, only remove the AR package will not solve the problem.