IL2CPP compile only specific dll's

Hey,

I’ve read about IL2CPP and as far as I am concerned it currently does not support Oculus and HTC Vive.
Thus, I would like to ask, is it possible to compile with IL2CPP only specific libraries (dlls) instead of compiling the whole project?

Thanks in advance,
Marios.

Yes. :slight_smile: Select your DLLs one at a time and look at the inspector window. You have per-platform mapping there. Select all of the platforms you need (or any) and choose IL2CPP as the scripting backend. Those DLLs will then only be used when building to IL2CPP. Make sure you uncheck Editor if you don’t want those DLLs building in the Editor.

Thanks for the reply,

So you confirm that there is indeed no VR support with Windows Universal Platform? Any way to mix IL2CPP with standalone?

It is not possible to mix IL2CPP with standalone. At least that won’t work in the sense that you can compile A.dll with IL2CPP and B.dll with the Mono JIT. On platforms that support both the IL2CPP and Mono scripting backends, you need to choose one or the other.

Oh I misunderstood… you are trying to mix scripting backends? Yeah as Josh said, that’s not possible.

Thanks for the replies,

One last thing. Is there an implementation of IL2CPP back-end scripting coming for Standalones apps or is it at least in your timeline for future updates?

Kind regards.

Yes, it is in the plans, although my team is not working on it, so I’m not sure about the specific release date.