[988] OnVideoError never gets fired in-game
complete
Μerlin
OnVideoError never gets fired in game regardless of whitelist settings. It will only fire in editor.
Put some invalid URL like "a" in the video URL input for the normal video player, look at log and see no video error message from the video player script because it doesn't receive the event.
Log In
Ruuubick - Designer
complete
PhaxeNor
This is working on Live and Open Beta.
2020.10.20 09:38:59 Log - Start - LoadURL: a
2020.10.20 09:38:59 Log - Video Error: InvalidURL
2020.10.20 09:54:53 Log - Start - LoadURL: https://bunnycdn.com/url
2020.10.20 09:54:53 Log - Video Error: AccessDenied
Test World; https://vrchat.com/i/house-canadabeyonce-aa3e7
public class UdonVideoTest : UdonSharpBehaviour
{
public VRCUrl url;
BaseVRCVideoPlayer _currentPlayer;
private void Start() {
_currentPlayer = (VRCUnityVideoPlayer) GetComponent(typeof(VRCUnityVideoPlayer));
Debug.Log("Start - LoadURL: " + url);
_currentPlayer.LoadURL(url);
}
public override void OnVideoError(VideoError videoError) {
Debug.Log("Video Error: " + videoError);
}
}
Ruuubick - Designer
tracked
Takato
the only time I ever see this get called is when it finds a video but can't play it