Search Unity

il2cpp failing to build on fresh install and new project. It's doing my head in.

Discussion in 'Windows' started by TheFalconeerDev, May 14, 2020.

  1. TheFalconeerDev

    TheFalconeerDev

    Joined:
    Sep 18, 2019
    Posts:
    95
    Hi.

    I'm at wits end,, had to reinstall windows on my pc. Got everything up and running but the game won't build for Il2cpp:

    Here's the error: (it seems to be a permissions or acces denied error, sorry for the dutch bit in there, haven't figured out how to set that to english")

    I've turned of uac , forced acces to the folders. It happens on a fresh project straight off the bat. Windows is up2 date. it's just 2019.3.13f1 freshly installed ..

    Everything compiled fine before the reinstall. It does compile in debug by the way, if that's an indicator of something.
    Bashing my head against the wall at this stage. Please help.
     
  2. joncham

    joncham

    Unity Technologies

    Joined:
    Dec 1, 2011
    Posts:
    276
    When you say "It does compile in debug by the way" does that mean a build in debug config works? But this build for `ReleasePlus` does not?

    When you say this fails, does it fail immediately when launching IL2CPP or does it run for a while?

    Is there a profile.json file in the project directory anywhere?

    Thanks!
     
  3. TheFalconeerDev

    TheFalconeerDev

    Joined:
    Sep 18, 2019
    Posts:
    95
    It fails at the very end of compilation.

    It fails on a new clean project as well.

    And yes a debug build does complete without debug it does not.

    With regarda to the Jason. That of a brand new projecy should do.

    Mono also just compiles fine
     
  4. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,674
    Can you post an editor log from a successful debug build?
     
  5. TheFalconeerDev

    TheFalconeerDev

    Joined:
    Sep 18, 2019
    Posts:
    95
    Lemme go do that
     
  6. TheFalconeerDev

    TheFalconeerDev

    Joined:
    Sep 18, 2019
    Posts:
    95
    hmm the fresh project also seems to fail at debug strangely enough. maybe it only builds at mono. It was a very long night trying to fix this. sorry
     

    Attached Files:

  7. TheFalconeerDev

    TheFalconeerDev

    Joined:
    Sep 18, 2019
    Posts:
    95
    something keeps tugging at me, that it might be a language mismatch. I seem to recall having an issue like that years ago.