Reputation: 35
I am trying to use vlc unity plugin on Unity 2021.3.32f1 Personal (LTS) to show videos in Oculus Quest 2. When, I play the VLC Canvas Example scene under Demos folder, I can see a video has been displayed and playing on the canvas in the editor. But when I build the project for Oculus Quest 2 and run inside the device, only thing I can see is color orange. I can see that my scripting backend is mono, my api compatibility level is .NET Standard 2.1 and I am targeting ARMv7 architecture from "Project Settings / Player / Other Settings / Configuration". Could you help me on finding what might have gone wrong and on where did I do wrong please?
I have expected that I could see a video playing is displayed on Oculus Quest 2 upon build and run, just like I did on Unity Editor.
I couldn't see any video being played.
1. Changing Scripting Backend to IL2CPP
The issue persisted.
2. Changing Targeted Architecture to ARM64
The issue persisted.
3. Testing Other Scenes
After testing with Mono / ARMv7 these were the results:
VLC 3D Example: On the TV screen it only displays the VLC logo and the texture doesn't update.
VLCMinimalPlayback: The screen stays white and buttons are missing.
VLCSubtiltes: Same as above.
VLCThreeSixty: Even though I could see the text reads "the 360 video" on the headset, the screen stayed white.
VLCYoutubePlayback: Same as VLCMinimalPlayback and VLCSubtiltes.
Unity Version: Unity 2021.3.32f1 Personal (LTS)
Project Template: 3D (non urp)
Packages Installed: Oculus XR Plugin, TextMeshPro, XR Plugin Management
Graphics API: OpenGLES3
Upvotes: 0
Views: 266