Asmdef in Local Package Ignored by IL2CPP

Hi,

I have an easy to reproduce bug:

  1. Have some source code in a package with an asmdef
  2. Enable IL2CPP
  3. Package’s DLL is built but not included in IL2CPP

Here’s the repro case:

  1. Load project, hit play OR build & run without IL2CPP
  2. Red cube bounces & spins
  3. Build & run with IL2CPP
  4. Red cube only spins

6365223–708330–AsmdefInLocalPackage.zip (52.4 KB)

Hey @jasonchown , I sent this to the team for you, I hope this helps!

1 Like

Thanks Shaun! For anyone else hitting this, there’s a an official tracker now: Unity Issue Tracker - Asmdef in Package is not built when using IL2CPP mode