Search Unity

2nd Time trying cloud build - cryptic errors, different behaviour to editor, giving up again

Discussion in 'Unity Cloud Build' started by Prodigga, Aug 31, 2019.

  1. Prodigga

    Prodigga

    Joined:
    Apr 13, 2011
    Posts:
    761
    Hi there

    Not particularly useful feedback, but just wanted to note that this is the second time I am trying Cloud build, and again my builds are failing due to errors I do not get on my own computer. Fresh install of Unity, fresh pull of the repo, and it builds fine locally. Cloud build fails every time with cryptic errors like this:

    Code (CSharp):
    1. 1169: [Unity] Unknown error occurred while loading ''.
    It seems like the editor behaviour in cloud build is just too different to what we actually see on our own machines. And as such it makes it such a pain to work with - if something breaks, you can't just reproduce it and fix it locally. Not to mention we'd be putting engineering effort into working around issues that are specific to cloud builds - issues that we don't see at all locally.

    I was trialing Unity Team's to see if we'd like to use Cloud Builds. For $9 per month it seemed like a pretty sweet deal but I don't think its worth the headache.
     
  2. Prodigga

    Prodigga

    Joined:
    Apr 13, 2011
    Posts:
    761
    Here is an error that doesn't come up as an error that I was able to fish out of the logs... Googling reveals nothing.

    Code (CSharp):
    1. 2947: thread_get_state failed
    2. 2948: [Unity] - Finished compile Library/ScriptAssemblies/PhotonWebSocket.dll
    3. 2949: [Unity] Obtained 19 stack frames.
    4. 2950: [Unity] #0  0x007fff74b15b66 in __pthread_kill
    5. 2951: [Unity] #1  0x007fff74a711ae in abort
    6. 2952: [Unity] #2  0x00000145b32c9f in GC_register_has_static_roots_callback
    7. 2953: [Unity] #3  0x00000145b325f9 in GC_push_all_stacks
    8. 2954: [Unity] #4  0x00000145b264a8 in GC_mark_some
    9. 2955: [Unity] #5  0x00000145b25c1d in GC_stopped_mark
    10. 2956: [Unity] #6  0x00000145b25749 in GC_maybe_gc
    11. 2957: [Unity] #7  0x00000145b26266 in GC_collect_a_little_inner
    12. 2958: [Unity] #8  0x00000145b281c9 in GC_allocobj
    13. 2959: [Unity] #9  0x00000145b2210e in GC_generic_malloc_inner
    14. 2960: [Unity] #10 0x00000145b28b6c in GC_generic_malloc
    15. 2961: [Unity] #11 0x00000145b2c93e in GC_malloc_kind_global
    16. 2962: [Unity] #12 0x00000145afc68a in mono_gc_alloc_string
    17. 2963: [Unity] #13 0x00000145a9fe98 in mono_string_new_size_checked
    18. 2964: [Unity] #14 0x00000145aa694e in mono_string_new_len_checked
    19. 2965: [Unity] #15 0x00000145aa68c5 in mono_string_new_len
    20. 2966: [Unity] #16 0x000001121d5cc3 in MonoStringNewLength(char const*, int)
    21. 2967: [Unity] #17 0x0000011108788f in FileUtil_CUSTOM_ResolveRedirectedPath(ScriptingBackendNativeStringPtrOpaque*)
    22. 2968: [Unity] #18 0x0000014b8a0836 in  (wrapper managed-to-native) UnityEditor.FileUtil:ResolveRedirectedPath (string) {0x7fdb3e36ee38} + 0xb6 (0x14b8a0780 0x14b8a0915) [0x14606d640 - Unity Child Domain]
    23. 2969:        ! Unity player export failed!