My older project doesn't´t work anymore: I have an ARcamera in my scene, and also onlineMaps. When enabling/disabling the maps game object, the camera doesn´t position itself to the tiles anymore. When disabling Vuforia PlayMode in configuration, the maps work, but no more AR functionality.
Does anyone use the same combination and did you get it working?
I tried a simple script and attached these to the activate/deactivate buttons, but I get a black screen
using System.Collections; using System.Collections.Generic; using UnityEngine; using Vuforia;
public class stopStartVuforia : MonoBehaviour {
// Use this for initialization void Start () { //VuforiaBehaviour.Instance.enabled = false; } // Update is called once per frame void Update () { }
public void stopAR(){ VuforiaBehaviour.Instance.enabled = false; }
public void startAR(){ VuforiaBehaviour.Instance.enabled = true; } }