Search Unity

  1. Unity 2019.1 beta is now available.
    Dismiss Notice
  2. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  3. We're looking for insight from anyone who has experience with game testing to help us better Unity. Take our survey here. If chosen to participate you'll be entered into a sweepstake to win an Amazon gift card.
    Dismiss Notice
  4. On February 28th the Feedback website will shut down and be redirected to the Unity forums. See the full post for more information.
    Dismiss Notice
  5. Want to provide direct feedback to the Unity team? Join the Unity Advisory Panel.
    Dismiss Notice
  6. Unity 2018.3 is now released.
    Dismiss Notice
  7. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice

IL2CPP errors

Discussion in 'Editor & General Support' started by greyhoundgames, Mar 6, 2015.

  1. greyhoundgames


    Jan 24, 2014
    Not sure if this is the right place to get help with IL2CPP errors when building a project but here goes.
    I recently upgraded to Unity 5 and I need to use IL2CPP for my app which is not an update, and so must be built using this(from what I understand).

    Building my app works fine normally, but with IL2CPP enabled, the build produces strange exceptions that don't make sense, and actually sound like runtime exceptions. They also are giving erroneous information about lines of code in files that do not exist.

    Here are some specifics:
    IL2CPP error for type 'TrainingCard' in Character.cs:385 Additional information: Object reference not set to an instance of an object

    So this is a build error, though it sounds like its telling me there is a null pointer exception, and secondly TrianingCard is not mentioned whatsoever in Character.cs on any line number.

    I would really appreciate any help as our app cannot be submitted while this situation remains.
  2. Anozireth


    Feb 7, 2013
    This sounds like an error occurred in the IL2CPP tool itself. I would submit a bug to Unity with your project.