Hey there! Hey there! I’m happy to report that a fix for VideoPlayer landed in 2022.3.18f1.
I just did a test using VideoPlayer in builds with both VR and Windowed mode configurations. I attached a VideoPlayer component to a quad (GameObject > 3D Objects > Quad) and set it to loop with a VideoClip asset crated from a .mov file. As expected, I saw the video play. Can you try updating to 2022.3.18f1 and see if that fixes the issue for you? If you are still having trouble, please submit a bug report with a project that replicates the issue.
Similarly, using a VideoPlayer in MR mode with Render Mode: Render Texture should now work, with the caveat that you must use PolySpatialObjectUtils.MarkDirty to flag the RenderTexture as dirty every frame.
Hi, guys trying to play video in Mixed Reality space but it’s not working with the quad and with render texture as well, using lates 1.0.3 Polyspatial version, Unity 2022.3.18f1, and XCode 15.2 in Simulator
Are you using PolySpatialObjectUtils.MarkDirty every frame that the video is playing in order to signal that it should be transferred via PolySpatial? If so, it may be a texture format issue or something else. If you can submit a bug report with a repro project and let us know the incident number (IN-#####), we can investigate.
I was able to get it to work; however, the default security policy requires that the URL be HTTPS. I used https://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4 to test in the simulator. It should be possible to modify the security policy to allow HTTP URLs, but I’m not sure of the exact steps for a Unity visionOS project.