ArgumentNullException: Value cannot be null.
See original GitHub issueHello,
Some links is ok but with some others youtube links i take this error
e.g: https://www.youtube.com/watch?v=QKm-SOOMC4c
ArgumentNullException: Value cannot be null.
Parameter name: value
Newtonsoft.Json.Utilities.ValidationUtils.ArgumentNotNull (System.Object value, System.String parameterName) (at C:/Users/bhadriche/Desktop/Tag AR/Assets/JsonDotNet/JsonDotNet201Source~/Source/Newtonsoft.Json/Utilities/ValidationUtils.cs:38)
Newtonsoft.Json.Linq.Extensions.Value[T,U] (System.Collections.Generic.IEnumerable1[T] value) (at C:/Users/bhadriche/Desktop/Tag AR/Assets/JsonDotNet/JsonDotNet201Source~/Source/Newtonsoft.Json/Linq/Extensions.cs:174) Newtonsoft.Json.Linq.Extensions.Value[U] (System.Collections.Generic.IEnumerable
1[T] value) (at C:/Users/bhadriche/Desktop/Tag AR/Assets/JsonDotNet/JsonDotNet201Source~/Source/Newtonsoft.Json/Linq/Extensions.cs:162)
YoutubeExplode.YoutubeClient+<GetPlayerConfigurationAsync>d__37.MoveNext () (at Assets/YoutubeExplode/YoutubeClient.Video.cs:80)
— End of stack trace from previous location where exception was thrown —
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () (at <7d97106330684add86d080ecf65bfe69>:0)
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) (at <7d97106330684add86d080ecf65bfe69>:0)
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) (at <7d97106330684add86d080ecf65bfe69>:0)
System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) (at <7d97106330684add86d080ecf65bfe69>:0)
System.Runtime.CompilerServices.TaskAwaiter1[TResult].GetResult () (at <7d97106330684add86d080ecf65bfe69>:0) YoutubeExplode.YoutubeClient+<GetVideoMediaStreamInfosAsync>d__41.MoveNext () (at Assets/YoutubeExplode/YoutubeClient.Video.cs:362) --- End of stack trace from previous location where exception was thrown --- System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () (at <7d97106330684add86d080ecf65bfe69>:0) System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) (at <7d97106330684add86d080ecf65bfe69>:0) System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) (at <7d97106330684add86d080ecf65bfe69>:0) System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) (at <7d97106330684add86d080ecf65bfe69>:0) System.Runtime.CompilerServices.TaskAwaiter
1[TResult].GetResult () (at <7d97106330684add86d080ecf65bfe69>:0)
YoutubePlayer.YoutubePlayer+<PlayVideoAsync>d__9.MoveNext () (at Assets/YoutubePlayer/Scripts/YoutubePlayer.cs:64)
UnityEngine.Debug:LogException(Exception)
YoutubePlayer.<PlayVideoAsync>d__9:MoveNext() (at Assets/YoutubePlayer/Scripts/YoutubePlayer.cs:81)
System.Runtime.CompilerServices.AsyncTaskMethodBuilder1:SetException(Exception) YoutubeExplode.<GetVideoMediaStreamInfosAsync>d__41:MoveNext() (at Assets/YoutubeExplode/YoutubeClient.Video.cs:588) System.Runtime.CompilerServices.AsyncTaskMethodBuilder
1:SetException(Exception)
YoutubeExplode.<GetPlayerConfigurationAsync>d__37:MoveNext() (at Assets/YoutubeExplode/YoutubeClient.Video.cs:190)
System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1:SetResult(IHtmlDocument)
YoutubeExplode.<GetVideoEmbedPageHtmlAsync>d__35:MoveNext() (at Assets/YoutubeExplode/YoutubeClient.Video.cs:58)
UnityEngine.UnitySynchronizationContext:ExecuteTasks()
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:12 (3 by maintainers)
Top GitHub Comments
Hi guys, I apologize for lack of activity on my side. I’ve been a bit busy, I do plan on updating this repo and improve things, but I do not have an ETA. Pull requests are more than welcome in the meantime. Cheers
Please reopen issue if problem persists. thanks