Search Unity

[RELEASED] Unity3D Google Cloud Vision

Discussion in 'Assets and Asset Store' started by FrostweepGames, Oct 22, 2017.

  1. Jason-RT-Bond

    Jason-RT-Bond

    Joined:
    Mar 26, 2012
    Posts:
    53
    Downgrading my project to Unity 2019.1.0f2 did not resolve this issue, so I believe it was not caused by a move from 2019.1.0 —> 2019.1.1.

    tested on:
    iPhone XS
    iOS version 12.2

    Here is my log output.

    Code (Text):
    1. 2019-05-25 11:38:28.680894-0400 temp[1523:903705] Task <DF9AA404-759F-4D6B-AEFB-41A67AD07CBE>.<1> HTTP load failed (error code: -998 [2:0])
    2. 2019-05-25 11:38:28.680980-0400 temp[1523:903705] Task <DF9AA404-759F-4D6B-AEFB-41A67AD07CBE>.<1> finished with error - code: -998
    3. 2019-05-25 11:38:28.681141-0400 temp[1523:903706] Task <DF9AA404-759F-4D6B-AEFB-41A67AD07CBE>.<1> load failed with error Error Domain=NSURLErrorDomain Code=-1 "unknown error" UserInfo={_kCFStreamErrorCodeKey=0, NSUnderlyingError=0x283ef6c70 {Error Domain=kCFErrorDomainCFNetwork Code=-998 "(null)" UserInfo={NSErrorPeerAddressKey=<CFData 0x2813a0b90 [0x1ca87f870]>{length = 16, capacity = 16, bytes = 0x100201bb23f134e50000000000000000}, _kCFStreamErrorCodeKey=0, _kCFStreamErrorDomainKey=2}}, _NSURLErrorFailingURLSessionTaskErrorKey=LocalUploadTask <DF9AA404-759F-4D6B-AEFB-41A67AD07CBE>.<1>, _NSURLErrorRelatedURLSessionTaskErrorKey=(
    4.     "LocalUploadTask <DF9AA404-759F-4D6B-AEFB-41A67AD07CBE>.<1>"
    5. ), NSLocalizedDescription=unknown error, NSErrorFailingURLStringKey=https://cdp.cloud.unity3d.com/v1/events, NSErrorFailingURLKey=https://cdp.cloud.unity3d.com/v1/events, _kCFStreamErrorDomainKey=2} [-1]
    6. 2019-05-25 11:38:28.681756-0400 temp[1523:902318] [BoringSSL] nw_protocol_boringssl_get_output_frames(1301) [C5.1:2][0x10ee19340] get output frames failed, state 8196
    7. 2019-05-25 11:38:28.681979-0400 temp[1523:902318] [BoringSSL] nw_protocol_boringssl_get_output_frames(1301) [C5.1:2][0x10ee19340] get output frames failed, state 8196
    8. 2019-05-25 11:38:28.682066-0400 temp[1523:902318] TIC Read Status [5:0x0]: 1:57
    9. 2019-05-25 11:38:28.682074-0400 temp[1523:902318] TIC Read Status [5:0x0]: 1:57
    A break here where I had some unrelated log messages spewing, followed by the timeout:

    Code (Text):
    1. 2019-05-25 11:39:22.476896-0400 temp[1523:903705] Task <C8EED7FB-BAC2-465D-A516-8A660156C8C9>.<1> finished with error - code: -1001
    2. 2019-05-25 11:39:22.477061-0400 temp[1523:902318] Task <C8EED7FB-BAC2-465D-A516-8A660156C8C9>.<1> load failed with error Error Domain=NSURLErrorDomain Code=-1001 "The request timed out." UserInfo={_kCFStreamErrorCodeKey=-2102, NSUnderlyingError=0x283e66c70 {Error Domain=kCFErrorDomainCFNetwork Code=-1001 "(null)" UserInfo={_kCFStreamErrorCodeKey=-2102, _kCFStreamErrorDomainKey=4}}, _NSURLErrorFailingURLSessionTaskErrorKey=LocalUploadTask <C8EED7FB-BAC2-465D-A516-8A660156C8C9>.<1>, _NSURLErrorRelatedURLSessionTaskErrorKey=(
    3.     "LocalUploadTask <C8EED7FB-BAC2-465D-A516-8A660156C8C9>.<1>"
    4. ), NSLocalizedDescription=The request timed out., NSErrorFailingURLStringKey=https://vision.googleapis.com/v1/images:annotate?key=AIzaSyBz9k7pi34P7xNqjw2BaSEnl6z4hC5G_0o, NSErrorFailingURLKey=https://vision.googleapis.com/v1/images:annotate?key=AIzaSyBz9k7pi34P7xNqjw2BaSEnl6z4hC5G_0o, _kCFStreamErrorDomainKey=4} [-1001]
    5. 2019-05-25 11:39:22.477852-0400 temp[1523:903705] [BoringSSL] nw_protocol_boringssl_get_output_frames(1301) [C6.1:2][0x10a500530] get output frames failed, state 8196
    6. 2019-05-25 11:39:22.477889-0400 temp[1523:903705] [BoringSSL] nw_protocol_boringssl_get_output_frames(1301) [C6.1:2][0x10a500530] get output frames failed, state 8196
    7. 2019-05-25 11:39:22.477964-0400 temp[1523:903705] TIC Read Status [6:0x0]: 1:57
    8. 2019-05-25 11:39:22.477970-0400 temp[1523:903705] TIC Read Status [6:0x0]: 1:57
    9. Failed to annotat the thing... Request timeout; 0
    10. 2019-05-25 11:39:28.685541-0400 temp[1523:903705] Task <E86297FD-6A55-4635-AC60-8AE65735C0AF>.<1> HTTP load failed (error code: -998 [2:0])
    11. 2019-05-25 11:39:28.685588-0400 temp[1523:903705] Task <E86297FD-6A55-4635-AC60-8AE65735C0AF>.<1> finished with error - code: -998
    12. 2019-05-25 11:39:28.685697-0400 temp[1523:903706] Task <E86297FD-6A55-4635-AC60-8AE65735C0AF>.<1> load failed with error Error Domain=NSURLErrorDomain Code=-1 "unknown error" UserInfo={_kCFStreamErrorCodeKey=0, NSUnderlyingError=0x283e66cd0 {Error Domain=kCFErrorDomainCFNetwork Code=-998 "(null)" UserInfo={NSErrorPeerAddressKey=<CFData 0x2813362b0 [0x1ca87f870]>{length = 16, capacity = 16, bytes = 0x100201bb23f134e50000000000000000}, _kCFStreamErrorCodeKey=0, _kCFStreamErrorDomainKey=2}}, _NSURLErrorFailingURLSessionTaskErrorKey=LocalUploadTask <E86297FD-6A55-4635-AC60-8AE65735C0AF>.<1>, _NSURLErrorRelatedURLSessionTaskErrorKey=(
    13.     "LocalUploadTask <E86297FD-6A55-4635-AC60-8AE65735C0AF>.<1>"
    14. ), NSLocalizedDescription=unknown error, NSErrorFailingURLStringKey=https://cdp.cloud.unity3d.com/v1/events, NSErrorFailingURLKey=https://cdp.cloud.unity3d.com/v1/events, _kCFStreamErrorDomainKey=2} [-1]
    15. 2019-05-25 11:39:28.686157-0400 temp[1523:902318] [BoringSSL] nw_protocol_boringssl_get_output_frames(1301) [C7.1:2][0x11bbb5c40] get output frames failed, state 8196
    16. 2019-05-25 11:39:28.686187-0400 temp[1523:902318] [BoringSSL] nw_protocol_boringssl_get_output_frames(1301) [C7.1:2][0x11bbb5c40] get output frames failed, state 8196
    17. 2019-05-25 11:39:28.686278-0400 temp[1523:902318] TIC Read Status [7:0x0]: 1:57
    18. 2019-05-25 11:39:28.686287-0400 temp[1523:902318] TIC Read Status [7:0x0]: 1:57

    The same implementation continues to work on Android and Mac, and hasn't changed since since a time when it WAS working on iOS.
     
  2. FrostweepGames

    FrostweepGames

    Joined:
    Jan 2, 2015
    Posts:
    210
    Hello,

    yeah, looks like it was appear after some changes in IOS core...
    currently we checking what we can do with that..

    sorry that it takes soem delays for you ...

    If you will have more info - let us know

    Best Regards
     
  3. artem_sh

    artem_sh

    Joined:
    Feb 26, 2019
    Posts:
    1
    Hello,

    update should be published already.

    Check it in latest asset version.

    Best
     
  4. shubhank008

    shubhank008

    Joined:
    Apr 3, 2014
    Posts:
    59
    Can you provide a example to load/use files saved on disk (like C or D drive, etc.) ?