我用Unity开发了软件并且发布在了Steam上,我在LeanCloud的结构化数据中手动填写了一些数据,然后我的软件在开始运行的时候会从LeanCloud上获取这些结构化数据,这是我对LeanCloud唯一的使用(获取结构化数据)。这在大部分用户的电脑上运行正常,但是有些用户的电脑无法获取结构化数据,我找了很久都没有找到解决方法(可能是因为我太蠢了),我把报错信息转为Json放在这里,如果您有空为我看看就太感谢了!
{"ClassName":"System.ArgumentException","Message":"Illegal byte sequence encounted in the input.","Data":null,"InnerException":null,"HelpURL":null,"StackTraceString":" at (wrapper managed-to-native) System.Object._icallwrapper_mono_string_from_byvalstr(intptr,int)\r\n at (wrapper managed-to-native) System.Runtime.InteropServices.Marshal.PtrToStructure(intptr,System.Type)\r\n at System.Runtime.InteropServices.Marshal.PtrToStructure[T] (System.IntPtr ptr) [0x00000] in <47fc8c70fa834cbf8141d7c1a7589125>:0 \r\n at System.Net.NetworkInformation.Win32NetworkInterface.get_FixedInfo () [0x00024] in <647615f3c1e6423a897a1a8f71c1fd3c>:0 \r\n at System.Net.NetworkInformation.Win32IPGlobalProperties.get_DomainName () [0x00000] in <647615f3c1e6423a897a1a8f71c1fd3c>:0 \r\n at System.Net.CookieContainer..ctor () [0x0003f] in <647615f3c1e6423a897a1a8f71c1fd3c>:0 \r\n at System.Net.Http.MonoWebRequestHandler.get_CookieContainer () [0x0000a] in :0 \r\n at System.Net.Http.MonoWebRequestHandler.CreateWebRequest (System.Net.Http.HttpRequestMessage request) [0x000f5] in :0 \r\n at System.Net.Http.MonoWebRequestHandler.SendAsync (System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) [0x000cf] in :0 \r\n at System.Net.Http.HttpClient.SendAsyncWorker (System.Net.Http.HttpRequestMessage request, System.Net.Http.HttpCompletionOption completionOption, System.Threading.CancellationToken cancellationToken) [0x000e8] in :0 \r\n at LeanCloud.Common.LCHttpClient.Request[T] (System.String path, System.Net.Http.HttpMethod method, System.Collections.Generic.Dictionary2[TKey,TValue] headers, System.Object data, System.Collections.Generic.Dictionary
2[TKey,TValue] queryParams) [0x001db] in <5021259bdeb84ee19163a16e1d6cfba9>:0 \r\n at LeanCloud.Storage.LCQuery`1[T].Find () [0x00089] in <8cfa446efbb84c1c852a317fc829e1ec>:0 \r\n at LeanCloudServes.LoadKey (TTSKeyType type) [0x00081] in <9833ac7341264f5b89a00bb2ba327086>:0 ","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":null,"HResult":-2147024809,"Source":"mscorlib","ParamName":"string"}