04-13-2024 10:36 AM
Hi everyone,
I know there are a lot of posts which suit my issue but none of the solutions seemed to help so I am asking one again 🤐. I am working on a unity project (2022.3.24f4) where I want to see a 360° Video. It has more than 2GB so I wanted to use the local filesystem on my Quest. When loading the app I just see the buffering symbol but it disappears instantly.
I added in my Videoplayer this URL to my Video: /storage/emulated/0/DCIM/name_of_file.mp4 and this is the AndroidManifest I used:
<?xml version="1.0" encoding="utf-8"?>
<manifest
xmlns:android="http://schemas.android.com/apk/res/android"
package="com.unity3d.player"
xmlns:tools="http://schemas.android.com/tools">
<application>
<activity android:name="com.unity3d.player.UnityPlayerActivity"
android:theme="@style/UnityThemeSelector">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<meta-data android:name="unityplayer.UnityActivity" android:value="true" />
</activity>
</application>
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
</manifest>
What am I missing?
Thanks for your help!