Open q876625596 opened 1 year ago
Seems like the LatestCsCoreVersionChecker.cs in line 25 cant access the URL https://raw.githubusercontent.com/cs-util-com/cscore/master/CsCore/PlainNetClassLib/src/Plugins/package.json , are you able to open that URL in your browser? Maybe it's blocked in your network. Which Unity version are you on?
I can open this website.
Unity version is 2021.3.25
WebException: Error: NameResolutionFailure System.Net.WebConnection.Connect (System.Net.WebOperation operation, System.Threading.CancellationToken cancellationToken) (at:0)
System.Net.WebConnection.InitConnection (System.Net.WebOperation operation, System.Threading.CancellationToken cancellationToken) (at :0)
System.Net.WebOperation.Run () (at :0)
System.Net.WebCompletionSourceb6_0(Exception) (at Library/PackageCache/com.csutil.cscore@feee7300cd/CsCore/com/csutil/extensions/TaskExtensions.cs:52)
com.csutil.<>c__DisplayClass5_0`1:b 0(Task) (at Library/PackageCache/com.csutil.cscore@feee7300cd/CsCore/com/csutil/extensions/TaskExtensions.cs:48)
UnityEngine.UnitySynchronizationContext:ExecuteTasks()
1[T].WaitForCompletion () (at <e6940d8ae2364839bd68ca06089600fc>:0) System.Net.HttpWebRequest.RunWithTimeoutWorker[T] (System.Threading.Tasks.Task
1[TResult] workerTask, System.Int32 timeout, System.Action abort, System.Func1[TResult] aborted, System.Threading.CancellationTokenSource cts) (at <e6940d8ae2364839bd68ca06089600fc>:0) System.Net.HttpWebRequest.EndGetResponse (System.IAsyncResult asyncResult) (at <e6940d8ae2364839bd68ca06089600fc>:0) System.Threading.Tasks.TaskFactory
1[TResult].FromAsyncCoreLogic (System.IAsyncResult iar, System.Func2[T,TResult] endFunction, System.Action
1[T] endAction, System.Threading.Tasks.Task1[TResult] promise, System.Boolean requiresSynchronization) (at <a40b0ad4a868437393ad434631fb6ff1>:0) --- End of stack trace from previous location where exception was thrown --- System.Net.Http.MonoWebRequestHandler.SendAsync (System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) (at <1b59c4f9ea544230b97be3f722642171>:0) Rethrow as HttpRequestException: An error occurred while sending the request System.Net.Http.MonoWebRequestHandler.SendAsync (System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) (at <1b59c4f9ea544230b97be3f722642171>:0) System.Net.Http.HttpClient.SendAsyncWorker (System.Net.Http.HttpRequestMessage request, System.Net.Http.HttpCompletionOption completionOption, System.Threading.CancellationToken cancellationToken) (at <1b59c4f9ea544230b97be3f722642171>:0) com.csutil.http.UriRestRequest.SendAsync (System.Net.Http.HttpMethod method) (at Library/PackageCache/com.csutil.cscore@feee7300cd/CsCore/com/csutil/http/UriRestRequest.cs:161) com.csutil.http.UriRestRequest.GetResult[T] () (at Library/PackageCache/com.csutil.cscore@feee7300cd/CsCore/com/csutil/http/UriRestRequest.cs:105) com.csutil.editor.LatestCsCoreVersionChecker.CheckForUpdates (System.Collections.Generic.List
1[T] installedPackages, System.String urlToLoadPackageJsonFrom) (at Library/PackageCache/com.csutil.cscore.unity@feee7300cd/CsCoreUnity/com/csutil/editor/compilationTasks/LatestCsCoreVersionChecker.cs:31) com.csutil.editor.LatestCsCoreVersionChecker.CheckForLatestVersion () (at Library/PackageCache/com.csutil.cscore.unity@feee7300cd/CsCoreUnity/com/csutil/editor/compilationTasks/LatestCsCoreVersionChecker.cs:25) Rethrow as AggregateException: One or more errors occurred. (An error occurred while sending the request) UnityEngine.Debug:LogException(Exception, Object) com.csutil.logging.LogToUnityDebugLog:PrintException(Exception, Object[]) (at Library/PackageCache/com.csutil.cscore.unity@feee7300cd/CsCoreUnity/com/csutil/logging/LogToUnityDebugLog.cs:27) com.csutil.logging.LogDefaultImpl:LogExeption(Exception, Object[]) (at Library/PackageCache/com.csutil.cscore@feee7300cd/CsCore/com/csutil/logging/LogDefaultImpl.cs:39) com.csutil.Log:e(Exception, Object[]) (at Library/PackageCache/com.csutil.cscore@feee7300cd/CsCore/com/csutil/logging/Log.cs:37) com.csutil.<>c: