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

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.

1 Like

Thanks for reporting this issue. Is Microsoft.Extensions.Logging.dll a DLL that is used in your project?

1 Like

Yes, My project used Microsoft.Extensions.Http.Polly and Microsoft.Extensions.Logging.dll is its dependency.

Thanks for the information - we will investigate this.

Unity said it is duplicated issue:

I’m not sure about that. Let me check with our QA team and report back.

1 Like

Yes, our QA team is re-checking the issue now.

1 Like

Any news for this? I can’t test Unity 2022.2 beta due to this issue…

No, sorry. I’ve not heard from our QA team about this again. I’ll check back in.

Registered to public issue tracker:

Excellent - we will investigate this.

Unity 2021.3.10f1 makes this issue too. I hope that the fix will be backported to 2021.3.x branch…

Yes, the fix is now on its way to a 2021.3 branch. I don’t yet know which release version will have it.

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.

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.

1 Like

I have the same issue in 2021.3.11

This issue will be corrected in 2021.3.12.

2 Likes

Hi! Is there any ETA for 2021.3.12 release?

It was just published today!

1 Like