Closed from2001 closed 5 months ago
Code will be committed on the brunch of https://github.com/styly-dev/STYLY-visionOS-Plugin/tree/issues/41_VideoPlayerSupport
The feature is now implemented and working fine. I also added samples for the usage with a free movie file.
Videoclip doesn’t work with AssetBundle on visionOS. I posted it to the Unity discussion forum.
Videoplayer support is released https://github.com/styly-dev/STYLY-visionOS-Plugin/releases/tag/v0.1.5
We do not do the rest of the tasks. (the dashed tasks in description)
I will implement a Videoplayer helper script to
Unity.PolySpatial.PolySpatialObjectUtils.MarkDirty()
for the RenderTexture if PolySpatial is installed.WebRequest_VisualScriptingNodes
package is installed.Display the description of the script on the inspector, such as the feature of the visionOS support, caching feature etc.fix
button on the inspector to solve the requirement issues. ~~Add RequireComponent to the scriptThe VideoPlayerHelper script is intended to be attached to the same Gameobject which has a VideoPlayer component.