I was wondering if anyone seen any video player crashes which outright kills the application on PC usually the second time you run the application? I had a rogue video.Stop(); which I believe was the culprit when called at loopPointReached.
private void OnPrepareCompleted(VideoPlayer source)
{
// play video
video.Play();
video.loopPointReached += OnVideoEnd;
}
private void OnVideoEnd(VideoPlayer source)
{
// crash here, removing this makes everything ok
video.Stop();
SceneManager.LoadScene("My Funky Scene");
}
Can’t really be bothered to submit a bug report, but just leaving this here. Note that it was fine in the editor.