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!