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.
  2. Dismiss Notice

Resolved (IN-14788) Failed to build player when using IL2CPP

Discussion in '2022.2 Beta' started by Kichang-Kim, Aug 25, 2022.

  1. Kichang-Kim

    Kichang-Kim

    Joined:
    Oct 19, 2010
    Posts:
    977
    Hi. I found that Unity 2022.2.0b5 fails to build IL2CPP player.

    Here is part of error log:
    Unity 2021.3.8f1 has no issue for same project.

    Reported as IN-14788.
     
    Last edited: Aug 25, 2022
    poprev-3d likes this.
  2. JoshPeterson

    JoshPeterson

    Unity Technologies

    Joined:
    Jul 21, 2014
    Posts:
    6,718
    Thanks for reporting this issue. Is Microsoft.Extensions.Logging.dll a DLL that is used in your project?
     
    Kichang-Kim likes this.
  3. Kichang-Kim

    Kichang-Kim

    Joined:
    Oct 19, 2010
    Posts:
    977
    Yes, My project used Microsoft.Extensions.Http.Polly and Microsoft.Extensions.Logging.dll is its dependency.
     
  4. JoshPeterson

    JoshPeterson

    Unity Technologies

    Joined:
    Jul 21, 2014
    Posts:
    6,718
    Thanks for the information - we will investigate this.
     
  5. Kichang-Kim

    Kichang-Kim

    Joined:
    Oct 19, 2010
    Posts:
    977
  6. JoshPeterson

    JoshPeterson

    Unity Technologies

    Joined:
    Jul 21, 2014
    Posts:
    6,718
    Kichang-Kim likes this.
  7. JoshPeterson

    JoshPeterson

    Unity Technologies

    Joined:
    Jul 21, 2014
    Posts:
    6,718
    Yes, our QA team is re-checking the issue now.
     
    Kichang-Kim likes this.
  8. Kichang-Kim

    Kichang-Kim

    Joined:
    Oct 19, 2010
    Posts:
    977
    Any news for this? I can't test Unity 2022.2 beta due to this issue...
     
  9. JoshPeterson

    JoshPeterson

    Unity Technologies

    Joined:
    Jul 21, 2014
    Posts:
    6,718
    No, sorry. I've not heard from our QA team about this again. I'll check back in.
     
  10. Kichang-Kim

    Kichang-Kim

    Joined:
    Oct 19, 2010
    Posts:
    977
  11. JoshPeterson

    JoshPeterson

    Unity Technologies

    Joined:
    Jul 21, 2014
    Posts:
    6,718
    Excellent - we will investigate this.
     
  12. Kichang-Kim

    Kichang-Kim

    Joined:
    Oct 19, 2010
    Posts:
    977
    Unity 2021.3.10f1 makes this issue too. I hope that the fix will be backported to 2021.3.x branch...
     
  13. JoshPeterson

    JoshPeterson

    Unity Technologies

    Joined:
    Jul 21, 2014
    Posts:
    6,718
    Yes, the fix is now on its way to a 2021.3 branch. I don't yet know which release version will have it.
     
  14. poprev-3d

    poprev-3d

    Joined:
    Apr 12, 2019
    Posts:
    69
    Any idea on how to fix this temporarily until a more official fix is merged to the main branch @JoshPeterson ? Seems like it appears since Unity 2021.3.10f1 (and is also in Unity 2021.3.11f1), I don't use any Microsoft.Extension.* dlls in my case.
    I'm forced to use 2021.3.9f1 for production builds.
     
  15. JoshPeterson

    JoshPeterson

    Unity Technologies

    Joined:
    Jul 21, 2014
    Posts:
    6,718
    No, unfortunately we don't have a work around for this. I think that the fix will make the next 2021.3 release though. So hopefully you can move forward soon.
     
    poprev-3d likes this.
  16. KirillVorotov

    KirillVorotov

    Joined:
    Mar 26, 2013
    Posts:
    2
    I have the same issue in 2021.3.11
     
  17. JoshPeterson

    JoshPeterson

    Unity Technologies

    Joined:
    Jul 21, 2014
    Posts:
    6,718
    This issue will be corrected in 2021.3.12.
     
    poprev-3d and KirillVorotov like this.
  18. lenchez-mrg

    lenchez-mrg

    Joined:
    Dec 13, 2018
    Posts:
    5
    Hi! Is there any ETA for 2021.3.12 release?
     
  19. JoshPeterson

    JoshPeterson

    Unity Technologies

    Joined:
    Jul 21, 2014
    Posts:
    6,718
    It was just published today!
     
    lenchez-mrg likes this.