Search Unity

I can't catch Unity build errors via script

Discussion in 'Editor & General Support' started by yusufdemir2012, Apr 5, 2019.

  1. yusufdemir2012

    yusufdemir2012

    Joined:
    Dec 21, 2013
    Posts:
    50
    Hi all. In Unity 2018, I can call a custom function before and after build in unity editor with IPreprocessBuildWithReport and IPostprocessBuildWithReport. But if any bugs occur during the build and the build stops, I can't catch it. I want to call a custom function in editor if the build fails. So I need something like that; IErrorProcessBuildWithReport. How can I solve?
     
  2. Peter77

    Peter77

    QA Jesus

    Joined:
    Jun 12, 2013
    Posts:
    6,618
  3. SAditya

    SAditya

    Joined:
    May 21, 2019
    Posts:
    19
    Hey guys needed help with this


    The process of build is complete with success in unity but it doesnt create an APK of the project , and the error that I encounter is the , " Unauthorized Access ....." , please see the full error in the Image attached .
    Thanks in advance for Help...

    checkout this link for the post and the screenshot of the error.
    https://forum.unity.com/threads/unity-build-error.682210/#post-4565296