开发者社区> 问答> 正文

Unity 发布ios平台后 调用putobject方法 报空。

详情如下 system bug:System.NullReferenceException: Object reference not set to an instance of an object. at Aliyun.OSS.Common.Communication.HttpExtensions.AddInternal (System.Net.WebHeaderCollection headers, System.String key, System.String value) [0x00000] in <00000000000000000000000000000000>:0 at Aliyun.OSS.Common.Communication.HttpFactory.SetRequestHeaders (System.Net.HttpWebRequest webRequest, Aliyun.OSS.Common.Communication.ServiceRequest serviceRequest, Aliyun.OSS.Common.ClientConfiguration configuration) [0x00000] in <00000000000000000000000000000000>:0 at Aliyun.OSS.Common.Communication.HttpFactory.CreateWebRequest (Aliyun.OSS.Common.Communication.ServiceRequest serviceRequest, Aliyun.OSS.Common.ClientConfiguration configuration) [0x00000] in <00000000000000000000000000000000>:0 at Aliyun.OSS.Common.Communication.ServiceClientImpl.SendCore (Aliyun.OSS.Common.Communication.ServiceRequest serviceRequest, Aliyun.OSS.Common.Communication.ExecutionContext context) [0x00000] in <00000000000000000000000000000000>:0 at Aliyun.OSS.Common.Communication.ServiceClient.Send (Aliyun.OSS.Common.Communication.ServiceRequest request, Aliyun.OSS.Common.Communication.ExecutionContext context) [0x00000] in <00000000000000000000000000000000>:0 at Aliyun.OSS.Common.Communication.RetryableServiceClient.SendImpl (Aliyun.OSS.Common.Communication.ServiceRequest request, Aliyun.OSS.Common.Communication.ExecutionContext context, System.Int32 retryTimes) [0x00000] in <00000000000000000000000000000000>:0 at Aliyun.OSS.Commands.OssCommand.Execute () [0x00000] in <00000000000000000000000000000000>:0 at Aliyun.OSS.Commands.OssCommand`1[T].Execute () [0x00000] in <00000000000000000000000000000000>:0 at OSS_Put.PutGameobeject () [0x00000] in <00000000000000000000000000000000>:0 at OSS_Test.OnGUI () [0x00000] in <00000000000000000000000000000000>:0 OSS_Put:PutGameobeject() OSS_Test:OnGUI()

展开
收起
游客keerfedlz4dne 2021-08-19 20:28:48 907 0
1 条回答
写回答
取消 提交回答
  • 我也报错了,楼主解决了没有啊?

    2022-02-15 18:04:18
    赞同 2 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
手淘iOS性能优化探索 立即下载
From Java/Android to Swift iOS 立即下载
深入剖析iOS性能优化 立即下载