google-ar / arcore-unity-sdk

ARCore SDK for Unity
https://developers.google.com/ar
Other
1.4k stars 402 forks source link

Covered up camera causes models to get stuck inside screen #684

Open humaxi opened 4 years ago

humaxi commented 4 years ago

SPECIFIC ISSUE ENCOUNTERED I placed some object to scene by static coordinate (coordinates don`t changing). When user cover up camera by chance or camera located near some objects (wall, table etc.) - i get "frozen" scene.

void Update()
    {
        if (Image == null || Image.TrackingState != TrackingState.Tracking)
        {
            Model.SetActive(false);
            return;
        }

        if (AugmentedImageTrackingMethod.FullTracking == Image.TrackingMethod) {
            Model.SetActive(true);
        }
        return;
    }

If you need more details, feel free to ask.

VERSIONS USED Unity: 2017.4.6f1 ARCore SDK for Unity: v1.6 Device manufacturer, model, and O/S: Testing on Oppo Reno 2

STEPS TO REPRODUCE THE ISSUE Run app Scan AugmentedImage Model shows up Cover up camera Moving device with covered camera

Zumbalamambo commented 4 years ago

@vacoup95 do not cover the camera

pooja91kubde commented 4 years ago

Even I am getting the same issue. If the camera gets covered, it will give a black screen. Please let us know how to solve this if someone has the solution.

Zumbalamambo commented 4 years ago

Same problem. Also, The tracking is not so great