I am facing an issue with my video 360 on Oculus GO and unity.
My issue :
I have a simple scene with the unity video player inside (play on awake, loop check).
After multiples reloads of this scene, the app freezes.
From my tests, the crashes occur when the video player starts after 50 or 100 reloads of the scene or 15-30 minutes of use.
I use Unity 2017.4.14
I use the oculus SDK 1.29
My video has a resolution of 3480x1920.
Encode : h264 .mp4
The video is displayed in equirectangular 360 in mono
The video is captured with this asset :
For the video player I have tested :
- AVPro 1.9.6 (from asset store)
- the built-in unity video player
Projects with this issue :
On my main project, I use AVPro.
I have a video manager with the video player set as DontDestroyOnLoad
In some scenes, I get the video manager and play a video or replay a video for these scenes.
The issue appears around 30 videos played.
In this case, the app freezes a few seconds, then return to the Oculus GO Home.
I set my project settings with this link
I modify their example scene to have my video.
In their project, unity uses a video player per scene.
Unfortunately, the result is near the same as AVPro.
The app freezes but it never return to the Oculus GO Home.
I have tried to work on the video (decrease size and resolution) but the result is the same.
Have you any ideas, tips or more information on this type of issue ?
Thank you for the help !