Closed dorkbot closed 7 months ago
Update: I was wrong, the error existed before the URP update. For some reason the video player is having problems when switching to a plane ar scene after URP update. But the error was there all along.
This error also exist in the AF Foundation github examples for AR Foundation 5.0.
The fix for the video player issue is to have the app load a non Plane AR scene from the video player scene, then go to the Plane AR scene.
Closing this issue as a duplicate of your forum post: https://forum.unity.com/threads/getting-an-error-when-loading-a-scene-from-a-plane-ar-scene-then-back-to-the-plane-ar-scene.1512632/
Please do not double-post. You're reaching the same people in both places :).
Maybe this is a bug, or maybe I've done something wrong.
I updated my project to URP and after doing that I'm seeing issues when loading a scene that has Plane AR.
When the user first loads the plane AR scene there is no issue, no error. BUT when a scene is loaded from the plane AR scene, then back to the same plane AR scene I get an error. One scene has a video player, and when trying to load the plane AR scene from the video player scene, the video player scene freezes. I think it's "frozen" in the renderer and the plane AR scene has indeed loaded because sometimes I can activate the buttons in the plane AR scene, it's really weird. Another scene displays an image, when I load the plane AR scene from this scene everything works but I still get the error in logcat.
This did not happen until I updated the project to URP, and when I, via git, reset back to standard, the problem does not exist.
I have not tested on iOS, I've only tested on Android.
here is the error...
11437 11564 Error native E0000 00:00:1698891377.038811 11564 scheduler.cc:277] INTERNAL: RET_CHECK failure (third_party/mediapipe/framework/scheduler.cc:277) state_ != STATE_NOT_STARTED (0 vs. 0)
I'm using Unity 2022.3.10f, AR Foundation 5.0.7, Universal RP 14.0.8