Search Unity

YAMLMerge error

Discussion in 'Editor & General Support' started by fugogugo, Dec 10, 2018.

  1. fugogugo

    fugogugo

    Joined:
    Jun 18, 2013
    Posts:
    12
    Hi,

    we're currently having problem where we cannot merge scene because YAML merge always return error when trying to merge the scene and here is the error returned from terminal

    UnityYAMLMerge(36505,0x70000f3cc000) malloc: *** mach_vm_map(size=2305843009213693952) failed (error code=3)
    *** error: can't allocate region
    *** set a breakpoint in malloc_error_break to debug
    libc++abi.dylib: terminating with uncaught exception of type std::bad_alloc: std::bad_alloc


    we're currently running Unity 2017.4.8 in Mac and our scene currently are at 13.5MB size . we've tried to use another unity version's YAMLmerge without success. do anyone have idea what happened?
     
  2. NoDumbQuestion

    NoDumbQuestion

    Joined:
    Nov 10, 2017
    Posts:
    186
    Create new component, destroy component in scene sometime broke and create null, artifact invisible objects in scene.

    Copy all of your GameObject from old broken scene then paste it into a new scene. It might work.