Log in or register to post comments

Random black screen when loading additional scenes

Unity Editor
September 26, 2022 - 3:35am #1

Hello,

I have an app with additional scenes using standard camera for some and AR camera in others, that I load additionally using a main scene. The additional scenes cameras renders in a RenderTexture that is displayed by the main camera in the main scene. I works perfectly up to some point. After some loading/unloading (3 or 4) of the additional scenes, the AR cam (which worked seconds before) displays a black screen just as if it couldn't get the camera feed anymore. I specify this because all the other threads I could read mention black screen and that's all, in my case the AR cam worked correctly just before.

Here is what vuforia is logging when loading a scene (there are 2 trackers in the scene, tracker_couloir_tableau & totem_exterieur) :

Creating ImageTarget from Texture: tracker_couloir_tableau/tracker_couloir_tableau
editor size: (4.2, 3.0), itSize: (4.2, 3.0, 0.0)
Creating dataset: Vuforia/totem_exterieur.xml/totem_exterieur
Vuforia Started
Target status: tracker_couloir_tableau NO_POSE -- NOT_OBSERVED
Target status: totem_exterieur NO_POSE -- NOT_OBSERVED
Target status: totem_exterieur NO_POSE -- RECOMMENDING_GUIDANCE
ConfigureVideoBackground

and nothing more, then when unloading the scene :

Target status: totem_exterieur NO_POSE -- NOT_OBSERVED
Vuforia Stopped

After that all the other AR scenes I can load are black, the only solution to get it working again, is to kill the app and clear the cache, then it starts displaying camera feed again for several loading/unloading before displaying black screen again.

The Player settings are already set to IL2CPP and only ARM64.

  • Unity version : 2021.1.25f1
  • Vuforia Engine version : 10.2.5
  • Android Device Model : Galaxy Tab S7

Thanks in advance!

Platform: 

Random black screen when loading additional scenes

October 4, 2022 - 9:38am #3

The most common reasons for a monitor to randomly stay black are: Cable Connections - Check video cables and video connections. On nursing essay writing service uk i read about black screen errors. Check if they are outdated or broken. Wrong power supply - Check if the power supply and voltage amount is correct.

Random black screen when loading additional scenes

October 3, 2022 - 3:36am #2

Hey there,

 

Can you reproduce the issue consistently? If so, is there a simple Unity project that you could share which would show the issue and share the repro steps?

Thank you.

 

Kind regards,

Patrick Scheper

Vuforia Engine Product Manager

Log in or register to post comments