Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

WebGL Failed building WebGL Player

Discussion in '5.1 Beta' started by arumiat, Apr 25, 2015.

  1. arumiat

    arumiat

    Joined:
    Apr 26, 2014
    Posts:
    321
    Win7 64bit
    Unity 5.1b3


    I'm trying to build & run my game using 'slow' optimisation level but am getting the following error:

    Failed running "C:\Program Files\Unity 5.1.0b3\Editor\Data\PlaybackEngines\webglsupport/BuildTools/Emscripten_Win/python/2.7.5.3_64bit/python.exe" "C:\Program Files\Unity 5.1.0b3\Editor\Data\PlaybackEngines\webglsupport/BuildTools/Emscripten/emcc" @"C:/Users/*******/Documents/2. WORK/1. CURRENT PROJECTS/Unity/UN dog chest NEW/Assets/../Temp/emcc_arguments.resp"

    stdout:
    WARNING: sanity check failed to run [Errno 13] Permission denied: 'C:\\Program Files\\Unity 5.1.0b3\\Editor\\Data\\PlaybackEngines\\webglsupport/BuildTools/emscripten.config_sanity'


    ---------------------------------------------------------------------------------------------------------------


    Exception: Failed building WebGL Player.
    UnityEditor.WebGL.ProgramUtils.StartProgramChecked (UnityEditor.Utils.Program p)
    UnityEditor.WebGL.WebGlBuildPostprocessor.PostProcess (BuildPostProcessArgs args)
    UnityEditor.PostprocessBuildPlayer.Postprocess (BuildTarget target, System.String installPath, System.String companyName, System.String productName, Int32 width, Int32 height, System.String downloadWebplayerUrl, System.String manualDownloadWebplayerUrl, BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/PostprocessBuildPlayer.cs:316)
    UnityEditor.HostView:OnGUI()


    The same thing happens on fastest optimisation level and if I try to build without running locally.

    Any ideas?
     
  2. arumiat

    arumiat

    Joined:
    Apr 26, 2014
    Posts:
    321
    Thanks to a suggestion from Lior in that permissions may be affecting things, I removed my Unity directory out of the Program Files directory and reinstalled at C:/Users/Unity_5_1_3b. Unfortunately I get a similar (but different) set of errors here

    Error building Player: IOException: Sharing violation on path C:/Users/*********/Documents/2. WORK/1. CURRENT PROJECTS/Unity/UN dog chest NEW/Assets/../Temp/EmscriptenWork
    --------------------------------------------------------------------------------------------------

    IOException: Sharing violation on path C:/Users/**********/Documents/2. WORK/1. CURRENT PROJECTS/Unity/UN dog chest NEW/Assets/../Temp/EmscriptenWork
    System.IO.Directory.Delete (System.String path) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.IO/Directory.cs:178)
    System.IO.Directory.RecursiveDelete (System.String path) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.IO/Directory.cs:197)
    System.IO.Directory.Delete (System.String path, Boolean recursive) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.IO/Directory.cs:205)
    UnityEditor.WebGL.Il2Cpp.EmscriptenCompiler.CleanupAndCreateEmscriptenDirs ()
    UnityEditor.WebGL.Il2Cpp.EmscriptenCompiler.CompileDynamicLibrary (System.String outFile, IEnumerable`1 sources, IEnumerable`1 includePaths, IEnumerable`1 libraries, IEnumerable`1 libraryPaths)
    UnityEditorInternal.IL2CPPBuilder.Run () (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:290)
    UnityEditorInternal.IL2CPPUtils.RunIl2Cpp (System.String stagingAreaData, IIl2CppPlatformProvider platformProvider, System.Action`1 modifyOutputBeforeCompile, UnityEditor.RuntimeClassRegistry runtimeClassRegistry) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:218)
    UnityEditor.WebGL.WebGlBuildPostprocessor.PostProcess (BuildPostProcessArgs args)
    UnityEditor.PostprocessBuildPlayer.Postprocess (BuildTarget target, System.String installPath, System.String companyName, System.String productName, Int32 width, Int32 height, System.String downloadWebplayerUrl, System.String manualDownloadWebplayerUrl, BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/PostprocessBuildPlayer.cs:316)
    UnityEditor.HostView:OnGUI()
     
  3. jonas-echterhoff

    jonas-echterhoff

    Unity Technologies

    Joined:
    Aug 18, 2005
    Posts:
    1,666
    Unity 5.1 has an issue right now that it requires cmake and visual studio to be installed to work on windows. We will have that fixed before release.
     
  4. arumiat

    arumiat

    Joined:
    Apr 26, 2014
    Posts:
    321
    Hi Jonas, thanks. To clarify is that the release of the 5.1 in June? If I install CMake and visual studio on Windows now can I start building and get around this error?
     
  5. jonas-echterhoff

    jonas-echterhoff

    Unity Technologies

    Joined:
    Aug 18, 2005
    Posts:
    1,666
    When 5.1 is released we will have this fixed (i hope to have it fixed in b5, no promises yet, though).

    Installing Cmake and MSVC should fix this issue, yet.
     
  6. arumiat

    arumiat

    Joined:
    Apr 26, 2014
    Posts:
    321
    Thanks, okay good to know a fix may be available sooner. I'm going to install both of those and try again, - do you know if the Visual studio express version should suffice? The full suite is massive!
     
  7. sergey pozdnukhov

    sergey pozdnukhov

    Joined:
    Jan 30, 2015
    Posts:
    8
    I have another error building WebGL player with unity 5.1.0b4 (log under spoiler)

    Code (csharp):
    1.  
    2. Failed running "C:\Program Files\Unity\Editor\Data\PlaybackEngines\webglsupport/BuildTools/Emscripten_Win/python/2.7.5.3_64bit/python.exe" "C:\Program Files\Unity\Editor\Data\PlaybackEngines\webglsupport/BuildTools/Emscripten/emcc" @"D:/projects/project/Assets/../Temp/emcc_arguments.resp"
    3.  
    4. stdout:
    5. stderr:
    6. warning: unresolved symbol: glFlushMappedBufferRange
    7. warning: unresolved symbol: glGetInternalformativ
    8. warning: unresolved symbol: tcflush
    9. warning: unresolved symbol: pthread_create
    10. warning: unresolved symbol: _ZN4FMOD13DSPConnection6setMixEf
    11. warning: unresolved symbol: glUnmapBuffer
    12. warning: unresolved symbol: glGetStringi
    13. warning: unresolved symbol: glProgramBinary
    14. warning: unresolved symbol: glMapBufferRange
    15. warning: unresolved symbol: glGetProgramBinary
    16. warning: unresolved symbol: glCopyBufferSubData
    17. Traceback (most recent call last):
    18.   File "C:\Program Files\Unity\Editor\Data\PlaybackEngines\webglsupport/BuildTools/Emscripten/emcc", line 1562, in <module>
    19.   flush_js_optimizer_queue()
    20.   File "C:\Program Files\Unity\Editor\Data\PlaybackEngines\webglsupport/BuildTools/Emscripten/emcc", line 1468, in flush_js_optimizer_queue
    21.   run_passes(chunks[0], title, just_split=False, just_concat=False)
    22.   File "C:\Program Files\Unity\Editor\Data\PlaybackEngines\webglsupport/BuildTools/Emscripten/emcc", line 1441, in run_passes
    23.   final = shared.Building.js_optimizer(final, passes, jcache, debug_level >= 4, js_optimizer_extra_info, just_split=just_split, just_concat=just_concat)
    24.   File "C:\Program Files\Unity\Editor\Data\PlaybackEngines\webglsupport\BuildTools\Emscripten\tools\shared.py", line 1663, in js_optimizer
    25.   ret = js_optimizer.run(filename, passes, NODE_JS, jcache, debug, extra_info, just_split, just_concat)
    26.   File "C:\Program Files\Unity\Editor\Data\PlaybackEngines\webglsupport\BuildTools\Emscripten\tools\js_optimizer.py", line 559, in run
    27.   return temp_files.run_and_clean(lambda: run_on_js(filename, passes, js_engine, jcache, source_map, extra_info, just_split, just_concat))
    28.   File "C:\Program Files\Unity\Editor\Data\PlaybackEngines\webglsupport\BuildTools\Emscripten\tools\tempfiles.py", line 39, in run_and_clean
    29.   return func()
    30.   File "C:\Program Files\Unity\Editor\Data\PlaybackEngines\webglsupport\BuildTools\Emscripten\tools\js_optimizer.py", line 559, in <lambda>
    31.   return temp_files.run_and_clean(lambda: run_on_js(filename, passes, js_engine, jcache, source_map, extra_info, just_split, just_concat))
    32.   File "C:\Program Files\Unity\Editor\Data\PlaybackEngines\webglsupport\BuildTools\Emscripten\tools\js_optimizer.py", line 444, in run_on_js
    33.   if not use_native(passes, source_map) or not get_native_optimizer():
    34.   File "C:\Program Files\Unity\Editor\Data\PlaybackEngines\webglsupport\BuildTools\Emscripten\tools\js_optimizer.py", line 171, in get_native_optimizer
    35.   return get_optimizer('optimizer.exe', [], ignore_build_errors)
    36.   File "C:\Program Files\Unity\Editor\Data\PlaybackEngines\webglsupport\BuildTools\Emscripten\tools\js_optimizer.py", line 155, in get_optimizer
    37.   return shared.Cache.get(name, create_optimizer_cmake, extension='exe')
    38.   File "C:\Program Files\Unity\Editor\Data\PlaybackEngines\webglsupport\BuildTools\Emscripten\tools\cache.py", line 36, in get
    39.   temp = creator()
    40.   File "C:\Program Files\Unity\Editor\Data\PlaybackEngines\webglsupport\BuildTools\Emscripten\tools\js_optimizer.py", line 107, in create_optimizer_cmake
    41.   proc = subprocess.Popen(['cmake', '-G', cmake_generator, '-DCMAKE_BUILD_TYPE='+cmake_build_type, shared.path_from_root('tools', 'optimizer')], cwd=build_path, stdin=log_output, stdout=log_output, stderr=log_output)
    42.   File "C:\Program Files\Unity\Editor\Data\PlaybackEngines\webglsupport\BuildTools\Emscripten_Win\python\2.7.5.3_64bit\lib\subprocess.py", line 711, in __init__
    43.   errread, errwrite)
    44.   File "C:\Program Files\Unity\Editor\Data\PlaybackEngines\webglsupport\BuildTools\Emscripten_Win\python\2.7.5.3_64bit\lib\subprocess.py", line 948, in _execute_child
    45.   startupinfo)
    46. WindowsError: [Error 2]
    47.  
    48. UnityEditor.HostView:OnGUI()
    49.  

    5.0.1p2 build successfully
     
  8. jonas-echterhoff

    jonas-echterhoff

    Unity Technologies

    Joined:
    Aug 18, 2005
    Posts:
    1,666
    This is the same error as is already being discussed in this thread. It will be fixed in 5.1b5, until then, you can work around it by installing cmake and MSVC.
     
  9. sergey pozdnukhov

    sergey pozdnukhov

    Joined:
    Jan 30, 2015
    Posts:
    8
    Thanks, I'll try it
     
  10. muzzythom

    muzzythom

    Joined:
    Dec 1, 2014
    Posts:
    17
    Is there any particular version of MSVC needed? Installing CMake didn't help (I previously had VS 2012 installed). Trying to install the latest VS now.

    EDIT: Installing the latest version of visual studio fixed the problem.
     
    Last edited: Apr 29, 2015
  11. arumiat

    arumiat

    Joined:
    Apr 26, 2014
    Posts:
    321
    Any news on when 5.1.5b is likely to land? If it'll be after the weekend I'll just install MSVC and CMake
     
  12. Onsterion

    Onsterion

    Joined:
    Feb 21, 2014
    Posts:
    215
    5.1.0b4 :

    Error building Player: Exception: C:\Program Files\Unity 5.1.0b4\Editor\Data\Tools/UnusedByteCodeStripper2/UnusedBytecodeStripper2.exe did not run properly!

    It's the same problem?
     
  13. arumiat

    arumiat

    Joined:
    Apr 26, 2014
    Posts:
    321
    I just installed 5.1b5 and am getting a similar error?

    Failed running "C:\Unity_51b5\Editor\Data\PlaybackEngines\webglsupport/BuildTools/Emscripten_Win/python/2.7.5.3_64bit/python.exe" "C:\Unity_51b5\Editor\Data\PlaybackEngines\webglsupport/BuildTools/Emscripten/emcc" @"C:/Users/******/Documents/2. WORK/1. CURRENT PROJECTS/Unity/UN dog chest NEW/Assets/../Temp/emcc_arguments.resp"

    stdout:
    stderr:
    WARNING root: emcc: link command line is very long, even with response file -- use paths with no spaces
    Traceback (most recent call last):
    File "C:\Unity_51b5\Editor\Data\PlaybackEngines\webglsupport/BuildTools/Emscripten/emcc", line 1216, in <module>
    extra_files_to_link += system_libs.calculate([f for _, f in sorted(temp_files)] + extra_files_to_link, in_temp, stdout, stderr, forced=forced_stdlibs)
    File "C:\Unity_51b5\Editor\Data\PlaybackEngines\webglsupport\BuildTools\Emscripten\tools\system_libs.py", line 749, in calculate
    libfile = shared.Cache.get(name, create)
    File "C:\Unity_51b5\Editor\Data\PlaybackEngines\webglsupport\BuildTools\Emscripten\tools\cache.py", line 36, in get
    temp = creator()
    File "C:\Unity_51b5\Editor\Data\PlaybackEngines\webglsupport\BuildTools\Emscripten\tools\system_libs.py", line 586, in create_libcextra
    return build_libc('libcextra.bc', libcextra_files, ['-O2'])
    File "C:\Unity_51b5\Editor\Data\PlaybackEngines\webglsupport\BuildTools\Emscripten\tools\system_libs.py", line 69, in build_libc
    shared.Building.link(o_s, in_temp(lib_filename))
    File "C:\Unity_51b5\Editor\Data\PlaybackEngines\webglsupport\BuildTools\Emscripten\tools\shared.py", line 1390, in link
    output = Popen(link_cmd, stdout=PIPE).communicate()[0]
    File "C:\Unity_51b5\Editor\Data\PlaybackEngines\webglsupport\BuildTools\Emscripten_Win\python\2.7.5.3_64bit\lib\subprocess.py", line 711, in __init__
    errread, errwrite)
    File "C:\Unity_51b5\Editor\Data\PlaybackEngines\webglsupport\BuildTools\Emscripten_Win\python\2.7.5.3_64bit\lib\subprocess.py", line 948, in _execute_child
    startupinfo)
    WindowsError: [Error 87] The parameter is incorrect

    UnityEditor.HostView:OnGUI()


    Exception: Failed building WebGL Player.
    UnityEditor.WebGL.ProgramUtils.StartProgramChecked (UnityEditor.Utils.Program p)
    UnityEditor.WebGL.WebGlBuildPostprocessor.PostProcess (BuildPostProcessArgs args)
    UnityEditor.PostprocessBuildPlayer.Postprocess (BuildTarget target, System.String installPath, System.String companyName, System.String productName, Int32 width, Int32 height, System.String downloadWebplayerUrl, System.String manualDownloadWebplayerUrl, BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/PostprocessBuildPlayer.cs:316)
    UnityEditor.HostView:OnGUI()

    [\SPOILER]

    Submit a new bug?
     
  14. Onsterion

    Onsterion

    Joined:
    Feb 21, 2014
    Posts:
    215
  15. jonas-echterhoff

    jonas-echterhoff

    Unity Technologies

    Joined:
    Aug 18, 2005
    Posts:
    1,666
  16. arumiat

    arumiat

    Joined:
    Apr 26, 2014
    Posts:
    321
    I already have that installed it looks like as when opening up that file I get this..

    cplus.JPG

    so I suppose not.

    Although I have both VS and Cmake installed I am still getting these errors, - I am going to add CMake to my system path as suggested by another user. I have also submitted my project to unity bugs (I had to use GDrive as neither the builtin uploader nor the server worked for me). I can also PM you a link the zipped project if of use Jonas

    EDIT: I've added CMake to my system path and still get the error, is this a new separate error from the previous one?
     
    Last edited: May 5, 2015
  17. arumiat

    arumiat

    Joined:
    Apr 26, 2014
    Posts:
    321
    All beta builds up to this point still getting errors.

    It was suggested that 'it might be caused by llvm-linker failing to execute. Could you go to your Unity/Editor/Data/
    PlaybackEngines/webglsupport/BuildTools/Emscripten_FastComp_Win/ directory from command line and run llvm-link.exe and show us what does it print out? It would help us in investigating this.'


    If I run the llvm-link.exe program from the command line a terminal window shows up for a split second and then exits before I can get any useful information from it. I tried creating a .bat file to pause this window before closing but this didn't help. Is there a way to catch what's running somehow?

    I can't do anything until this bug is resolved
     
  18. devjah

    devjah

    Joined:
    Dec 8, 2014
    Posts:
    2
  19. arumiat

    arumiat

    Joined:
    Apr 26, 2014
    Posts:
    321
    I have switched back to using 5.0.2, which is working for now
     
  20. jonas-echterhoff

    jonas-echterhoff

    Unity Technologies

    Joined:
    Aug 18, 2005
    Posts:
    1,666
    Is anyone still seeing this issue with 5.1f1? If yes, please paste full error output here.
     
  21. Kronnect

    Kronnect

    Joined:
    Nov 16, 2014
    Posts:
    2,905
    Hi @jonas echterhoff ,

    I got a similar error on OS X with 5.1f2 !!
    I can't build for WebGL neither on Fast nor Fastest setting, with the following error:

    What can I do? I intend to release soon and I'd like WebGL to get into the pack.

    Failed running python "/Applications/Unity/Unity.app/Contents/PlaybackEngines/WebGLSupport/BuildTools/Emscripten/emcc" -Oz -std=c++11 -Wno-unused-value -Wno-invalid-offsetof -I-I"/Users/ramcor/Documents/DreamlikeCharts/DLCharts 5.1b/Assets/../Temp/StagingArea/Data/Libraries/bdwgc/include" -I"/Users/ramcor/Documents/DreamlikeCharts/DLCharts 5.1b/Assets/../Temp/StagingArea/Data/Libraries/libil2cpp/include" -I"/Users/ramcor/Documents/DreamlikeCharts/DLCharts 5.1b/Assets/../Temp/StagingArea/Data/il2cppOutput" -nostdinc -c @"/var/folders/m5/_753vgvd4z5fdfkmnvm0y31w0000gn/T/tmp4406bf3d.tmp"

    WARNING root: [33mdid not see a source tree above or next to the LLVM root directory (guessing based on directory of /Applications/Unity/Unity.app/Contents/PlaybackEngines/WebGLSupport/BuildTools/Emscripten_FastComp_Mac/llc), could not verify version numbers match[0m
    INFO root: [32m(Emscripten: Running sanity checks)[0m
    WARNING root: [33m-I or -L of an absolute path "-I/Users/ramcor/Documents/DreamlikeCharts/DLCharts 5.1b/Assets/../Temp/StagingArea/Data/Libraries/libil2cpp/include" encountered. If this is to a local system header/library, it may cause problems (local system files make sense for compiling natively on your system, but not necessarily to JavaScript). Pass '-Wno-warn-absolute-paths' to emcc to hide this warning.[0m
    /Users/ramcor/Documents/DreamlikeCharts/DLCharts 5.1b/Assets/../Temp/StagingArea/Data/il2cppOutput/Bulk_Assembly-CSharp_5.cpp:25106:1: warning: control reaches end of non-void function [-Wreturn-type]
    }
    ^
    /Users/ramcor/Documents/DreamlikeCharts/DLCharts 5.1b/Assets/../Temp/StagingArea/Data/il2cppOutput/Bulk_Assembly-CSharp_5.cpp:25306:1: warning: control reaches end of non-void function [-Wreturn-type]
    }
    ^
    /Users/ramcor/Documents/DreamlikeCharts/DLCharts 5.1b/Assets/../Temp/StagingArea/Data/il2cppOutput/Bulk_Assembly-CSharp_5.cpp:25506:1: warning: control reaches end of non-void function [-Wreturn-type]
    }
    ^
    /Users/ramcor/Documents/DreamlikeCharts/DLCharts 5.1b/Assets/../Temp/StagingArea/Data/il2cppOutput/Bulk_Assembly-CSharp_5.cpp:25716:1: warning: control reaches end of non-void function [-Wreturn-type]
    }
    ^
    /Users/ramcor/Documents/DreamlikeCharts/DLCharts 5.1b/Assets/../Temp/StagingArea/Data/il2cppOutput/Bulk_Assembly-CSharp_5.cpp:27184:1: warning: control may reach end of non-void function [-Wreturn-type]
    }
    ^
    /Users/ramcor/Documents/DreamlikeCharts/DLCharts 5.1b/Assets/../Temp/StagingArea/Data/il2cppOutput/Bulk_Assembly-CSharp_5.cpp:27579:1: warning: control may reach end of non-void function [-Wreturn-type]
    }
    ^
    /Users/ramcor/Documents/DreamlikeCharts/DLCharts 5.1b/Assets/../Temp/StagingArea/Data/il2cppOutput/Bulk_Assembly-CSharp_5.cpp:27735:1: warning: control may reach end of non-void function [-Wreturn-type]
    }
    ^
    /Users/ramcor/Documents/DreamlikeCharts/DLCharts 5.1b/Assets/../Temp/StagingArea/Data/il2cppOutput/Bulk_Assembly-CSharp_5.cpp:27801:1: warning: control may reach end of non-void function [-Wreturn-type]
    }
    ^
    /Users/ramcor/Documents/DreamlikeCharts/DLCharts 5.1b/Assets/../Temp/StagingArea/Data/il2cppOutput/Bulk_Assembly-CSharp_5.cpp:28081:1: warning: control may reach end of non-void function [-Wreturn-type]
    }
    ^
    /Users/ramcor/Documents/DreamlikeCharts/DLCharts 5.1b/Assets/../Temp/StagingArea/Data/il2cppOutput/Bulk_Assembly-CSharp_5.cpp:28210:1: warning: control may reach end of non-void function [-Wreturn-type]
    }
    ^
    /Users/ramcor/Documents/DreamlikeCharts/DLCharts 5.1b/Assets/../Temp/StagingArea/Data/il2cppOutput/Bulk_Assembly-CSharp_5.cpp:32605:1: warning: control may reach end of non-void function [-Wreturn-type]
    }
    ^
    11 warnings generated.
    /Users/ramcor/Documents/DreamlikeCharts/DLCharts 5.1b/Assets/../Temp/StagingArea/Data/il2cppOutput/Bulk_Generics_102.cpp:140:1: warning: control reaches end of non-void function [-Wreturn-type]
    }
    ^
    /Users/ramcor/Documents/DreamlikeCharts/DLCharts 5.1b/Assets/../Temp/StagingArea/Data/il2cppOutput/Bulk_Generics_102.cpp:203:1: warning: control reaches end of non-void function [-Wreturn-type]
    }
    ^
    /Users/ramcor/Documents/DreamlikeCharts/DLCharts 5.1b/Assets/../Temp/StagingArea/Data/il2cppOutput/Bulk_Generics_102.cpp:898:1: warning: control may reach end of non-void function [-Wreturn-type]
    }
    ^
    /Users/ramcor/Documents/DreamlikeCharts/DLCharts 5.1b/Assets/../Temp/StagingArea/Data/il2cppOutput/Bulk_Generics_102.cpp:1332:1: warning: control may reach end of non-void function [-Wreturn-type]
    }
    ^
    /Users/ramcor/Documents/DreamlikeCharts/DLCharts 5.1b/Assets/../Temp/StagingArea/Data/il2cppOutput/Bulk_Generics_102.cpp:1470:1: warning: control may reach end of non-void function [-Wreturn-type]
    }
    ^
    /Users/ramcor/Documents/DreamlikeCharts/DLCharts 5.1b/Assets/../Temp/StagingArea/Data/il2cppOutput/Bulk_Generics_102.cpp:4763:1: warning: control reaches end of non-void function [-Wreturn-type]
    }
    ^
    /Users/ramcor/Documents/DreamlikeCharts/DLCharts 5.1b/Assets/../Temp/StagingArea/Data/il2cppOutput/Bulk_Generics_102.cpp:4826:1: warning: control reaches end of non-void function [-Wreturn-type]
    }
    ^
    /Users/ramcor/Documents/DreamlikeCharts/DLCharts 5.1b/Assets/../Temp/StagingArea/Data/il2cppOutput/Bulk_Generics_102.cpp:5497:1: warning: control may reach end of non-void function [-Wreturn-type]
    }
    ^
    /Users/ramcor/Documents/DreamlikeCharts/DLCharts 5.1b/Assets/../Temp/StagingArea/Data/il2cppOutput/Bulk_Generics_102.cpp:5905:1: warning: control may reach end of non-void function [-Wreturn-type]
    }
    ^
    /Users/ramcor/Documents/DreamlikeCharts/DLCharts 5.1b/Assets/../Temp/StagingArea/Data/il2cppOutput/Bulk_Generics_102.cpp:6040:1: warning: control may reach end of non-void function [-Wreturn-type]
    }
    ^
    /Users/ramcor/Documents/DreamlikeCharts/DLCharts 5.1b/Assets/../Temp/StagingArea/Data/il2cppOutput/Bulk_Generics_102.cpp:9200:1: warning: control reaches end of non-void function [-Wreturn-type]
    }
    ^
    /Users/ramcor/Documents/DreamlikeCharts/DLCharts 5.1b/Assets/../Temp/StagingArea/Data/il2cppOutput/Bulk_Generics_102.cpp:9263:1: warning: control reaches end of non-void function [-Wreturn-type]
    }
    ^
    /Users/ramcor/Documents/DreamlikeCharts/DLCharts 5.1b/Assets/../Temp/StagingArea/Data/il2cppOutput/Bulk_Generics_102.cpp:9934:1: warning: control may reach end of non-void function [-Wreturn-type]
    }
    ^
    /Users/ramcor/Documents/DreamlikeCharts/DLCharts 5.1b/Assets/../Temp/StagingArea/Data/il2cppOutput/Bulk_Generics_102.cpp:10342:1: warning: control may reach end of non-void function [-Wreturn-type]
    }
    ^
    /Users/ramcor/Documents/DreamlikeCharts/DLCharts 5.1b/Assets/../Temp/StagingArea/Data/il2cppOutput/Bulk_Generics_102.cpp:10477:1: warning: control may reach end of non-void function [-Wreturn-type]
    }
    ^
    /Users/ramcor/Documents/DreamlikeCharts/DLCharts 5.1b/Assets/../Temp/StagingArea/Data/il2cppOutput/Bulk_Generics_102.cpp:13637:1: warning: control reaches end of non-void function [-Wreturn-type]
    }
    ^
    /Users/ramcor/Documents/DreamlikeCharts/DLCharts 5.1b/Assets/../Temp/StagingArea/Data/il2cppOutput/Bulk_Generics_102.cpp:13700:1: warning: control reaches end of non-void function [-Wreturn-type]
    }
    ^
    /Users/ramcor/Documents/DreamlikeCharts/DLCharts 5.1b/Assets/../Temp/StagingArea/Data/il2cppOutput/Bulk_Generics_102.cpp:14371:1: warning: control may reach end of non-void function [-Wreturn-type]
    }
    ^
    /Users/ramcor/Documents/DreamlikeCharts/DLCharts 5.1b/Assets/../Temp/StagingArea/Data/il2cppOutput/Bulk_Generics_102.cpp:14779:1: warning: control may reach end of non-void function [-Wreturn-type]
    }
    ^
    19 warnings generated.
    /Users/ramcor/Documents/DreamlikeCharts/DLCharts 5.1b/Assets/../Temp/StagingArea/Data/il2cppOutput/Bulk_Generics_106.cpp:160:1: warning: control may reach end of non-void function [-Wreturn-type]
    }
    ^
    /Users/ramcor/Documents/DreamlikeCharts/DLCharts 5.1b/Assets/../Temp/StagingArea/Data/il2cppOutput/Bulk_Generics_106.cpp:3481:1: warning: control reaches end of non-void function [-Wreturn-type]
    }
    ^
    /Users/ramcor/Documents/DreamlikeCharts/DLCharts 5.1b/Assets/../Temp/StagingArea/Data/il2cppOutput/Bulk_Generics_106.cpp:3544:1: warning: control reaches end of non-void function [-Wreturn-type]
    }
    ^
    /Users/ramcor/Documents/DreamlikeCharts/DLCharts 5.1b/Assets/../Temp/StagingArea/Data/il2cppOutput/Bulk_Generics_106.cpp:4221:1: warning: control may reach end of non-void function [-Wreturn-type]
    }
    ^
    /Users/ramcor/Documents/DreamlikeCharts/DLCharts 5.1b/Assets/../Temp/StagingArea/Data/il2cppOutput/Bulk_Generics_106.cpp:4640:1: warning: control may reach end of non-void function [-Wreturn-type]
    }
    ^
    /Users/ramcor/Documents/DreamlikeCharts/DLCharts 5.1b/Assets/../Temp/StagingArea/Data/il2cppOutput/Bulk_Generics_106.cpp:4775:1: warning: control may reach end of non-void function [-Wreturn-type]
    }
    ^
    /Users/ramcor/Documents/DreamlikeCharts/DLCharts 5.1b/Assets/../Temp/StagingArea/Data/il2cppOutput/Bulk_Generics_106.cpp:7936:1: warning: control reaches end of non-void function [-Wreturn-type]
    }
    ^
    /Users/ramcor/Documents/DreamlikeCharts/DLCharts 5.1b/Assets/../Temp/StagingArea/Data/il2cppOutput/Bulk_Generics_106.cpp:7999:1: warning: control reaches end of non-void function [-Wreturn-type]
    }
    ^
    /Users/ramcor/Documents/DreamlikeCharts/DLCharts 5.1b/Assets/../Temp/StagingArea/Data/il2cppOutput/Bulk_Generics_106.cpp:8670:1: warning: control may reach end of non-void function [-Wreturn-type]
    }
    ^
    /Users/ramcor/Documents/DreamlikeCharts/DLCharts 5.1b/Assets/../Temp/StagingArea/Data/il2cppOutput/Bulk_Generics_106.cpp:9078:1: warning: control may reach end of non-void function [-Wreturn-type]
    }
    ^
    /Users/ramcor/Documents/DreamlikeCharts/DLCharts 5.1b/Assets/../Temp/StagingArea/Data/il2cppOutput/Bulk_Generics_106.cpp:9213:1: warning: control may reach end of non-void function [-Wreturn-type]
    }
    ^
    /Users/ramcor/Documents/DreamlikeCharts/DLCharts 5.1b/Assets/../Temp/StagingArea/Data/il2cppOutput/Bulk_Generics_106.cpp:12374:1: warning: control reaches end of non-void function [-Wreturn-type]
    }
    ^
    /Users/ramcor/Documents/DreamlikeCharts/DLCharts 5.1b/Assets/../Temp/StagingArea/Data/il2cppOutput/Bulk_Generics_106.cpp:12437:1: warning: control reaches end of non-void function [-Wreturn-type]
    }
    ^
    /Users/ramcor/Documents/DreamlikeCharts/DLCharts 5.1b/Assets/../Temp/StagingArea/Data/il2cppOutput/Bulk_Generics_106.cpp:13108:1: warning: control may reach end of non-void function [-Wreturn-type]
    }
    ^
    /Users/ramcor/Documents/DreamlikeCharts/DLCharts 5.1b/Assets/../Temp/StagingArea/Data/il2cppOutput/Bulk_Generics_106.cpp:13516:1: warning: control may reach end of non-void function [-Wreturn-type]
    }
    ^
    /Users/ramcor/Documents/DreamlikeCharts/DLCharts 5.1b/Assets/../Temp/StagingArea/Data/il2cppOutput/Bulk_Generics_106.cpp:13651:1: warning: control may reach end of non-void function [-Wreturn-type]
    }
    ^
    16 warnings generated.
    /Users/ramcor/Documents/DreamlikeCharts/DLCharts 5.1b/Assets/../Temp/StagingArea/Data/il2cppOutput/Bulk_Generics_11.cpp:2836:1: warning: control reaches end of non-void function [-Wreturn-type]
    }
    ^
    /Users/ramcor/Documents/DreamlikeCharts/DLCharts 5.1b/Assets/../Temp/StagingArea/Data/il2cppOutput/Bulk_Generics_11.cpp:2899:1: warning: control reaches end of non-void function [-Wreturn-type]
    }
    ^
    /Users/ramcor/Documents/DreamlikeCharts/DLCharts 5.1b/Assets/../Temp/StagingArea/Data/il2cppOutput/Bulk_Generics_11.cpp:3580:1: warning: control may reach end of non-void function [-Wreturn-type]
    }
    ^
    /Users/ramcor/Documents/DreamlikeCharts/DLCharts 5.1b/Assets/../Temp/StagingArea/Data/il2cppOutput/Bulk_Generics_11.cpp:4050:1: warning: control may reach end of non-void function [-Wreturn-type]
    }
    ^
    /Users/ramcor/Documents/DreamlikeCharts/DLCharts 5.1b/Assets/../Temp/StagingArea/Data/il2cppOutput/Bulk_Generics_11.cpp:4179:1: warning: control may reach end of non-void function [-Wreturn-type]
    }
    ^
    /Users/ramcor/Documents/DreamlikeCharts/DLCharts 5.1b/Assets/../Temp/StagingArea/Data/il2cppOutput/Bulk_Generics_11.cpp:6682:1: warning: control reaches end of non-void function [-Wreturn-type]
    }
    ^
    /Users/ramcor/Documents/DreamlikeCharts/DLCharts 5.1b/Assets/../Temp/StagingArea/Data/il2cppOutput/Bulk_Generics_11.cpp:6745:1: warning: control reaches end of non-void function [-Wreturn-type]
    }
    ^
    /Users/ramcor/Documents/DreamlikeCharts/DLCharts 5.1b/Assets/../Temp/StagingArea/Data/il2cppOutput/Bulk_Generics_11.cpp:7421:1: warning: control may reach end of non-void function [-Wreturn-type]
    }
    ^
    /Users/ramcor/Documents/DreamlikeCharts/DLCharts 5.1b/Assets/../Temp/StagingArea/Data/il2cppOutput/Bulk_Generics_11.cpp:7829:1: warning: control may reach end of non-void function [-Wreturn-type]
    }
    ^
    /Users/ramcor/Documents/DreamlikeCharts/DLCharts 5.1b/Assets/../Temp/StagingArea/Data/il2cppOutput/Bulk_Generics_11.cpp:7964:1: warning: control may reach end of non-void function [-Wreturn-type]
    }
    ^
    10 warnings generated.
    /Users/ramcor/Documents/DreamlikeCharts/DLCharts 5.1b/Assets/../Temp/StagingArea/Data/il2cppOutput/Bulk_Generics_113.cpp:2505:1: warning: control reaches end of non-void function [-Wreturn-type]
    }
    ^
    /Users/ramcor/Documents/DreamlikeCharts/DLCharts 5.1b/Assets/../Temp/StagingArea/Data/il2cppOutput/Bulk_Generics_113.cpp:2568:1: warning: control reaches end of non-void function [-Wreturn-type]
    }
    ^
    /Users/ramcor/Documents/DreamlikeCharts/DLCharts 5.1b/Assets/../Temp/StagingArea/Data/il2cppOutput/Bulk_Generics_113.cpp:3251:1: warning: control may reach end of non-void function [-Wreturn-type]
    }
    ^
    /Users/ramcor/Documents/DreamlikeCharts/DLCharts 5.1b/Assets/../Temp/StagingArea/Data/il2cppOutput/Bulk_Generics_113.cpp:3672:1: warning: control may reach end of non-void function [-Wreturn-type]
    }
    ^
    /Users/ramcor/Documents/DreamlikeCharts/DLCharts 5.1b/Assets/../Temp/StagingArea/Data/il2cppOutput/Bulk_Generics_113.cpp:3809:1: warning: control may reach end of non-void function [-Wreturn-type]
    }
    ^
    /Users/ramcor/Documents/DreamlikeCharts/DLCharts 5.1b/Assets/../Temp/StagingArea/Data/il2cppOutput/Bulk_Generics_113.cpp:7058:1: warning: control reaches end of non-void function [-Wreturn-type]
    }
    ^
    /Users/ramcor/Documents/DreamlikeCharts/DLCharts 5.1b/Assets/../Temp/StagingArea/Data/il2cppOutput/Bulk_Generics_113.cpp:7121:1: warning: control reaches end of non-void function [-Wreturn-type]
    }
    ^
    /Users/ramcor/Documents/DreamlikeCharts/DLCharts 5.1b/Assets/../Temp/StagingArea/Data/il2cppOutput/Bulk_Generics_113.cpp:7792:1: warning: control may reach end of non-void function [-Wreturn-type]
    }
    ^
    /Users/ramcor/Documents/DreamlikeCharts/DLCharts 5.1b/Assets/../Temp/StagingArea/Data/il2cppOutput/Bulk_Generics_113.cpp:8200:1: warning: control may reach end of non-void function [-Wreturn-type]
    }
    ^
    /Users/ramcor/Documents/DreamlikeCharts/DLCharts 5.1b/Assets/../Temp/StagingArea/Data/il2cppOutput/Bulk_Generics_113.cpp:8335:1: warning: control may reach end of non-void function [-Wreturn-type]
    }
    ^
    /Users/ramcor/Documents/DreamlikeCharts/DLCharts 5.1b/Assets/../Temp/StagingArea/Data/il2cppOutput/Bulk_Generics_113.cpp:11496:1: warning: control reaches end of non-void function [-Wreturn-type]
    }
    ^
    /Users/ramcor/Documents/DreamlikeCharts/DLCharts 5.1b/Assets/../Temp/StagingArea/Data/il2cppOutput/Bulk_Generics_113.cpp:11559:1: warning: control reaches end of non-void function [-Wreturn-type]
    }
    ^
    /Users/ramcor/Documents/DreamlikeCharts/DLCharts 5.1b/Assets/../Temp/StagingArea/Data/il2cppOutput/Bulk_Generics_113.cpp:12230:1: warning: control may reach end of non-void function [-Wreturn-type]
    }
    ^
    /Users/ramcor/Documents/DreamlikeCharts/DLCharts 5.1b/Assets/../Temp/StagingArea/Data/il2cppOutput/Bulk_Generics_113.cpp:12638:1: warning: control may reach end of non-void function [-Wreturn-type]
    }
    ^
    /Users/ramcor/Documents/DreamlikeCharts/DLCharts 5.1b/Assets/../Temp/StagingArea/Data/il2cppOutput/Bulk_Generics_113.cpp:12773:1: warning: control may reach end of non-void function [-Wreturn-type]
    }
    ^
    /Users/ramcor/Documents/DreamlikeCharts/DLCharts 5.1b/Assets/../Temp/StagingArea/Data/il2cppOutput/Bulk_Generics_113.cpp:15934:1: warning: control reaches end of non-void function [-Wreturn-type]
    }
    ^
    /Users/ramcor/Documents/DreamlikeCharts/DLCharts 5.1b/Assets/../Temp/StagingArea/Data/il2cppOutput/Bulk_Generics_113.cpp:15997:1: warning: control reaches end of non-void function [-Wreturn-type]
    }
    ^
    /Users/ramcor/Documents/DreamlikeCharts/DLCharts 5.1b/Assets/../Temp/StagingArea/Data/il2cppOutput/Bulk_Generics_113.cpp:16668:1: warning: control may reach end of non-void function<message truncated>
     
  22. arumiat

    arumiat

    Joined:
    Apr 26, 2014
    Posts:
    321
    I had to revert to using 5.0.2 to get things to work
     
  23. Kronnect

    Kronnect

    Joined:
    Nov 16, 2014
    Posts:
    2,905
    Yes, with 5.0.2 I can build using Fast, but no Fastest option. I still need further code reduction optimizations so I was looking for the Fastest option to work ok in 5.1f2. But it doesn't.
     
  24. arumiat

    arumiat

    Joined:
    Apr 26, 2014
    Posts:
    321
    Frustrating, I very much hope this is fixed by 5.1 stable release. Hopefully will hear more from Jonas
     
  25. jonas-echterhoff

    jonas-echterhoff

    Unity Technologies

    Joined:
    Aug 18, 2005
    Posts:
    1,666
    Hey Thrawn. That looks like an il2cpp issue. However, your error message got truncated by the console, so I cannot tell what it might be. The editor.log should contain the full error output. It is probably best if you could file a bug with a repro case (and post and quote bug # here).
     
  26. Kronnect

    Kronnect

    Joined:
    Nov 16, 2014
    Posts:
    2,905
    Attached complete log file. Can you quickly see anything?
    Tell me if you need a repro.
     

    Attached Files:

  27. Kronnect

    Kronnect

    Joined:
    Nov 16, 2014
    Posts:
    2,905
    Hi @jonas echterhoff, I have managed to reproduce with a repro (I stripped lot of things from my project, but still the error is there). Here its: http://fogbugz.unity3d.com/default.asp?702224_lqvljqj5godcidbp
     
  28. jonas-echterhoff

    jonas-echterhoff

    Unity Technologies

    Joined:
    Aug 18, 2005
    Posts:
    1,666
    Quick, non-authoritative answer: IL2CPP teams thinks the issue has likely been fixed, but 5.1 does not currently contain the latest il2cpp fixes.
     
  29. Kronnect

    Kronnect

    Joined:
    Nov 16, 2014
    Posts:
    2,905
    Love "quick", although "non-authoritative" answers!
    Looking forward to next release then.
    Thank you Jonas very much.