arfoundation-samples icon indicating copy to clipboard operation
arfoundation-samples copied to clipboard

Stopping planeSubsystem doesn't invoke systemState

Open Tostifrosti opened this issue 7 years ago • 1 comments

I have a complex project that uses AR to place products in the real world. Sometimes I need to disable the plane detection, other times I need to restart the AR entirely. The problem that I encountered was the invoking of the plane subsystem. The system doesn't recognize that I stopped the plane detection using: ARSubsystemManager.planeSubsystem.Stop(). I heavily depend on the ARSubsystemManager.systemStateChanged for invoking other methods in my project when AR doesn't track planes in the current session.

Is this by design or just another bug in AR Foundation?

Note: Stop/Start with ARSubsystemManager.sessionSubsystem.Stop() does the same exact thing and will result in also stopping the camera (which I don't want). Also I'm not able to start the session again after stopping using sessionSubsystem (no errors are shown in Log).

Tostifrosti avatar Feb 18 '19 13:02 Tostifrosti

This problem is resolved/not relevant in the new version of AR Foundation (version 2.1).

Tostifrosti avatar May 24 '19 11:05 Tostifrosti