Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question Is there anyway to detect if IL2CPP Module is installed?

Discussion in 'Editor & General Support' started by CDF, Mar 10, 2023.

  1. CDF

    CDF

    Joined:
    Sep 14, 2013
    Posts:
    1,306
    Hi, I'm currently looking for a way to detect if IL2CPP module is installed from a TestRunner TestCase:

    il2cpp.png

    Browsing through the editor internals I came across:
    DesktopStandaloneBuildWindowExtension

    which has the protected property
    protected bool m_HasIl2CppPlayers;


    But no idea how that's being set. Most likely from native code I would imagine.