RenderHeads / UnityPlugin-AVProVideo

AVPro Video is a multi-platform Unity plugin for advanced video playback
https://www.renderheads.com/products/avpro-video/
233 stars 28 forks source link

AVPro Video does not load videos with unusual characters in the filename #1704

Closed pnostudiodeveloper closed 9 months ago

pnostudiodeveloper commented 9 months ago

Describe the issue Files with the character "#" in the filename fail to load in AVPro Video

The same files load perfectly in Unity VideoPlayer.

Please, investigate this issue not just for "#", but for the full range of characters in the operating system. If Unity can handle this, AVPro Video should be able to.

Thank you

Your Setup (please complete the following information):

To Reproduce

  1. Name a video with "#" in the filename
  2. Try to load into AVPro Video in a scene

Logs [AVProVideo] Error: Loading failed. File not found, codec not supported, video resolution too high or insufficient system resources. UnityEngine.Debug:LogError (object) RenderHeads.Media.AVProVideo.MediaPlayer:UpdateErrors () (at Assets/AVProVideo/Runtime/Scripts/Components/MediaPlayer.cs:1405) RenderHeads.Media.AVProVideo.MediaPlayer:Update () (at Assets/AVProVideo/Runtime/Scripts/Components/MediaPlayer.cs:827)

MorrisRH commented 9 months ago

Reproduced and fixed.

pnostudiodeveloper commented 9 months ago

Thank you!

Just to clarify, were you also able to test for other characters besides "#"?

Chris-RH commented 9 months ago

AVPro Video version 2.9.1 has been released. Please let us know if your issue has not been fixed.