Troubleshooting neverending il2cpp builds

We are trying to build our application for the UWP. There are a huge amount of missing and incompatible bits of API with the .Net Standard/mono system, so we are looking to use il2cpp

The issue is the build does not complete, even after 12+ hours.

Are there any tips or directions we can move to start to resolve these build issues?

Let’s start with your Unity version. Which one are you on? We have had some fixes recently that addressed issues like this.

I’ve tried 2017.3.1f1,2017.3.1p1 and 2018.1.0b7

Can we get a bug report on this?

I’m a bit hesitant to upload our entire codebase to Unity, I guess I will play around and see if we can find some kind of repro case but that could be really hard to track down

previously reported this issue,

but it was closed as by design…

tested the same project in 2017.2.1p3, still takes pretty long time compared to mono…

*the project was simply this plugin, try compile to android with il2cpp: Unity Asset Store - The Best Assets for Game Making

so i’d guess its some dll plugin in the project…

This is a separate issue - the build literally never completes.

I managed to get a repro case. It is the Leap Motion plugin, please check bug 1004743

in 2018.1 this causes il2cpp builds to fail on windows standalone so it is a pain there too. I have got in touch with the leap motion team about this issue too.

That was closed by design because:

  • First build will always take longer, because following builds will use incremental building;
  • The issue on android taking longer than webgl was because android compiles for both ARM and Intel architectures.

Thanks, we will take a look.