Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

IL2CPP 2021.3.5f1 Win fails to build

Discussion in 'Windows' started by valentin-simian, Jul 19, 2022.

  1. valentin-simian

    valentin-simian

    Joined:
    Nov 16, 2012
    Posts:
    46
    Code (CSharp):
    1. [1][ERROR][Unity] C:\Program Files\Unity\Hub\Editor\2021.3.5f1\Editor\Data\il2cpp\build\deploy\il2cpp.exe @Library\Bee\artifacts\rsp\1957384615472766163.rsp
    2. Stack overflow.
    3.  
    4. [1][ERROR][Unity] Incremental Player build failed!
    5. UnityEditor.Modules.BeeBuildPostprocessor:PostProcess (BuildPostProcessArgs)
    6. UnityEditor.Modules.DefaultBuildPostprocessor:PostProcess (BuildPostProcessArgs, BuildProperties&)
    7. UnityEditor.WindowsStandalone.WinPlayerPostProcessor:PostProcess (BuildPostProcessArgs, BuildProperties&)(at C:\buildslave\unity\build\PlatformDependent\WinPlayer\Extensions\Managed\WinPlayerPostProcessor.cs:38)
    8. UnityEditor.PostprocessBuildPlayer:Postprocess (BuildTargetGroup, BuildTarget, Int32, String, String, String, Int32, Int32, BuildOptions, RuntimeClassRegistry, BuildReport)
    9. UnityEditor.Build.BuildFailedException: Incremental Player build failed!
    10.   at UnityEditor.Modules.BeeBuildPostprocessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args) [0x00165] in <1f0be198f5164d2489de92f22c998266>:0
    11.   at UnityEditor.Modules.DefaultBuildPostprocessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args, UnityEditor.BuildProperties& outProperties) [0x00001] in <1f0be198f5164d2489de92f22c998266>:0
    12.   at UnityEditor.WindowsStandalone.WinPlayerPostProcessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args, UnityEditor.BuildProperties& outProperties) [0x00011] in C:\buildslave\unity\build\PlatformDependent\WinPlayer\Extensions\Managed\WinPlayerPostProcessor.cs:38
    13.   at UnityEditor.PostprocessBuildPlayer.Postprocess (UnityEditor.BuildTargetGroup targetGroup, UnityEditor.BuildTarget target, System.Int32 subtarget, System.String installPath, System.String companyName, System.String productName, System.Int32 width, System.Int32 height, UnityEditor.BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry, UnityEditor.Build.Reporting.BuildReport report) [0x000e5] in <1f0be198f5164d2489de92f22c998266>:0
    14.  
     
  2. valentin-simian

    valentin-simian

    Joined:
    Nov 16, 2012
    Posts:
    46
    Unrelatedly solved: Was a problem with a 3rd party package, log4net.
     
  3. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,009
    This is also a bug in IL2CPP. Could you report a bug to us and include the package that causes this? I don't think we should ever crash with a stack overflow.