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
0
votes
1 answer

Change Scripting Backend from IL2CPP to .NET Unity (for the latest version of Vuforia)

I needed to update my project form 2017.2 to 2017.3 for the new Vuforia Version (because of the new Model targets). The Player still works fine. But if I want to build a UWP App for the Hololens. I got the error, that the Scripting Backend isn't…
LosKartoflos
  • 142
  • 2
  • 12
0
votes
1 answer

Which backend scripting build is required for Websocket-sharp? (IL2CPP or .NET)

I am writing an application where I need to throw information using websockets. I came across the websocket-sharp library. As given in the guide, I have put the .dll file inside the Assets/Plugins/ location. However, often it happens that after a…
0
votes
1 answer

NotSuppportedException IL2CPP on iOS

When I try to send data to my service I get the exception below on Xcode Debug.log when using iOS 11 and an iPhone 5s. On my login and register scenes I'm using WCF service to check login data. I cannot reach the service because of this exception.…
0
votes
0 answers

Apple Mach-O Link Error in unity project

I've receive the a unity game project, which might need to integrate in our future app. the source is base on Xcode 9 & swift 4, when I try to build, I've got this Apple Mach-O Link Error as in the follow picture : Solutions that I've try: 1.change…
shanshan_ttzi
  • 35
  • 1
  • 7
0
votes
1 answer

Can't link iOS project with il2cpp and Unity

any of you know what is happening with my project ? There is this error: ld: symbol(s) not found for architecture arm64 Unity Player Settings is like this:
herd
  • 155
  • 2
  • 19
0
votes
1 answer

Unity WebGL Build

I am trying to release a WebGl build and keep getting the following error messages no matter what I try on the forums. My build runs fine on any other platform First error: Failed running C:\Program …
James M
  • 1
  • 2
0
votes
0 answers

How to export Unity to Android project with IL2CPP

Mac OS 10.12.4 Unity 5.5.1p4 When I build an Android APK or export a Android project with IL2CPP, I will get this message: Exception: /Applications/Unity/Unity.app/Contents/il2cpp/build/il2cpp.exe did not run…
Weller
  • 23
  • 4
0
votes
1 answer

Modify Assembly-CSharp.dll before send to IL2CPP in Unity3d

I want to insert some code stub to Assembly-CSharp.dll by using Mono.Cecil before send to il2cpp when build iOS player with batchmode. Currently, the only way I know is to wrap…
Xiaobin
  • 163
  • 1
  • 1
  • 10
0
votes
0 answers

+300 warnings in Xcode from Unity

I made Build my App for iOS with 'Unity version: 5.4.1f1 (64 bit)', then open Project with 'Xcode version: 8.2.1 (8C1002)' no exist Warnings and Errors, but launch RUN Build and view 329 Warnings, in summary: Unused function 'InitCrash' ->…
0
votes
1 answer

How to export Unity to Android Studio with ARM v8 support?

I tried setting IL2CPP as the builder and exporting but it only exports the x86 and ARM v7 native libs. Is it possible to export a Unity 5.3 project as an Android Studio project with ARM v8 jni libs bundled?
ravindu1024
  • 1,496
  • 1
  • 13
  • 30
0
votes
1 answer

Why does IL2CPP run with no error and no output

My unity version is 5.3.4f, and I hava C# script as a.cs and compiled a.exe and it runs OK. Then I use IL2CPP to translate a.exe into C++ compiled exe a_il2cpp.exe with command: il2cpp.exe --outputpath=a_il2cpp.exe --cachedirectory="obj_cache"…
Endone
  • 3
  • 3
0
votes
2 answers

Unity iOS IPv6 - IL2CPP UnityEngine.Experimental.Networking crash

In order to be able to submit again to the app store (for a published game) we had to make things work for IPv6. So we updated Unity to the version 5.3.5p2 (latest patched version available) We went through reworking all our networking interfaces…
beQr
  • 503
  • 1
  • 4
  • 8
0
votes
1 answer

Unity 3d IL2CPP not archiving

I have a Unity 3d project and if I build it with Mono 2x Scripting backend and Universal Architecture, it works perfectly in Xcode; ie it builds, I can run on a device and Archive for submission to the App Store. However this fails to upload to app…
grayson
  • 945
  • 1
  • 11
  • 28
0
votes
2 answers

How to use pure C++ code with IL2CPP for Unity compilation into windows application?

I want to have a crossplatform application (including browser integration). I have C++ library\algorithms I want to use in form of sources (to make Unity compile it on each platform). I know it could work if I use Mac or WebGL as primary build…
DuckQueen
  • 772
  • 10
  • 62
  • 134
0
votes
0 answers

Crash on iPhone camera start, few but vague errors

I should note that this is an augmented reality project. Application works perfect with Mono2x. Changed to IL2CPP because app store requires 64-bit. Splash screen still plays, but now when the camera tries to start, the app crashes. I am…
user5619350