Hello everyone,
I’m running into an issue with the Youtube Video Player + Youtube API plugin in Unity 2022.24f1, targeting Windows. The plugin was working fine last week, but now I’m unable to play any videos. I keep receiving the following error in Unity:
NullReferenceException: Object reference not set to an instance of an object
LightShaft.Scripts.YoutubeSettings+d__195.MoveNext () (at Assets/LightShaft/Scripts/YoutubeSettings.cs:3393)
LightShaft.Scripts.YoutubeSettings.GetVideoInfos (System.Collections.Generic.IEnumerable`1[T] extractionInfos, System.String videoTitle) (at Assets/LightShaft/Scripts/YoutubeSettings.cs:3597)
LightShaft.Scripts.YoutubeSettings+d__71.MoveNext () (at Assets/LightShaft/Scripts/YoutubeSettings.cs:315)
UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) (at :0).
In addition, the demo scenes are not functioning, and the streaming data I’m getting is null.
Has anyone else come across this problem or found a solution? Any help would be greatly appreciated as I’m working on a live project.
Thanks in advance!
Akshay