Questions tagged [il2cpp]

For issues relating to the IL2CPP Unity scripting back-end.

IL2CPP is a Unity-developed scripting back-end which can be used as an alternative to Mono when building projects for some platforms. Therefore Unity converts IL code from scripts and assemblies into C++ code, before creating a native binary file (.exe, apk, .xap, for example) for a chosen platform.

153 questions
1
vote
0 answers

Kudan iOS project made with Unity shows only Green Screen

I am trying to build a Kudan project that uses the SLAM technology by following this tutorial: https://www.youtube.com/watch?v=Olkf0rxmgk0. I have done so, but when I build for iOS and run (in XCode8) I get only a green screen and a square in the…
Jacobo Koenig
  • 11,728
  • 9
  • 40
  • 75
1
vote
1 answer

Unity 5.2.3 - unable to build to iOS for 3 months now

I have to update a game already live on App Store using Unity 5.2.3. I have been getting a lot of il2cpp related errors due to which I cannot build anymore for iOS....this has been going on for 3 months now....have tried all Unity versions from…
user2442902
  • 83
  • 1
  • 8
1
vote
1 answer

Unity 5.2 ios IL2CPP build gives null reference exception

I'm using Unity 5.2 and Xcode 7, and when I choose IL2CPP as scripting backend, Universal for architecture, and run on Xcode: I get this error several times at runtime: (Filename: currently not available on il2cpp Line: -1) NullReferenceException:…
Dilara Albayrak
  • 314
  • 1
  • 3
  • 23
1
vote
1 answer

Unity 5.1 serialization on iOS - IL2CPP Filename not supported yet

In my game I use serialization to save couple arrays and variables to file on disk. Everything is good. But after I tried making an iOS build, it refuses to save, and Xcode debugger says - "Filename is not yet supported". How do I fix this? Here is…
Dvole
  • 5,725
  • 10
  • 54
  • 87
1
vote
0 answers

il2cpp compilation errors with Unity3d

I am trying to compile my Unity3d C# scripts to run on arm64 devices for iOS. The Unity build generates the xCode project with no problems but the xCode build produces some Semantic Issue errors: CompileC…
martin
  • 247
  • 3
  • 15
1
vote
2 answers

IL2CPP : linking error for iOS build NeatPlug - Flurry Analytics plugin (universal)

We are using Neatplug's flurry analytics plugin for our Unity game. Everything was going fine till we updated unity to the version 5.1.1P1. Doing so made iOS build (linking) to fail in xcode (using IL2CPP scripting backend, with universal…
1
vote
0 answers

unity 5 il2cpp support for ios simulator

Is unity5's IL2CPP support IOS simulator build now? I managed to build a unity exported project in xcode but when it run in simulator mode it crashed with the message dyld: Symbol not found: _CloseZStream.
DennisPP
  • 11
  • 2
1
vote
1 answer

Is Unity3d native API via IL2CPP feasible?

I'm pondering an idea of accessing Unity3d's native API and possibly creating a wrapper library for easy human usage. To do that I'm currently trying to figure out what exactly happens when Unity project is converted to XCode project during build…
pdeschain
  • 1,411
  • 12
  • 21
0
votes
0 answers

Unity build misses "Publish" option in Visual Studio 2022, forcing publish by including Package.appxmanifest generates "Error: APPX1502"

I am making a HoloLens 2 application using Unity 2021.3.28f1 and MRTK 2.8.3.0. When I build my Unity UWP (IL2CPP) application with the following settings: The Visual Studio project that is generated does not recognise the included…
RensV
  • 27
  • 4
0
votes
0 answers

Unity editor gets stuck on compiling cpp for il2cpp when I want to build my app

I'm using Unity Editor 2022.3.4f1 and I need to build my application in 64 bits for the requirements of Google Play, but unfortunately when I select IL2CPP in the player settings and then select ARM64, it momentarily completes the build to arm64,…
0
votes
1 answer

Cannot execute Mach-O 64-bit executable x86_64 binary inside docker container

I have an IL2CPP scripting backend Unity Android export taken from Unity editor version 2020.3.48f1 (Mac intel variant on Mac m1 machine) for target architecture ARM64. When I try executing il2cpp binary file (located at…
aquaman
  • 1,523
  • 5
  • 20
  • 39
0
votes
0 answers

Unity Realm, Android build fails "Could not analyze the user's assembly."

Just implemented Realm on Unity, using IL2CPP and it works like charm on Editor. However, upon build on Android, it fails within few seconds, Error message Could not analyze the user's assembly. Object reference not set to an instance of an object…
0
votes
0 answers

Stuff not marked as serializable

I keep getting a System.Runtime.Serialization.SerializationException error when using this code in C#. Specifically, I'm trying to deserialize a Dictionary but always run into this issue. Any help would be appreciated. var Data =…
Milky
  • 1
0
votes
1 answer

parsing il2cpp_ghidra.h from il2cppdumper in ghidra fails

when i use il2cppdumper, get il2cpp.h, then run il2cpp_header_to_ghidra.py and after that trying to open il2cpp_ghidra.h with ghidra (File > Parse C source > add il2cpp_ghidra.h to list > parse program) i'm getting error in il2cpp_ghidra.h: Error:…
Sirox0
  • 1
  • 1
0
votes
0 answers

Unity WebGL - icall not supported by IL2CPP

I'm on a WebGL project that uses MongoDB. I have all the MongoDB assemblies and dependencies. I can build the project fine & run it but then I get this error: Build.framework.js.br:3 NotSupportedException: C:/Program…