150 questions
-1
votes
1
answer
36
views
Unity UWP build: “A scripted object probably BlankScene has a different serialization layout” when using [SerializeField]
I'm encountering a serialization error when building a Unity project for UWP and running it in Visual Studio:
A scripted object probably BlankScene has a different serialization layout when loading (...
0
votes
0
answers
579
views
Frida not able to find libil2cpp.so or Assembly-CSharp
I am new to reverse engineering and trying to setup environment to start.
However, I am facing troubles to even find the basic classes through Frida.
Currently I am using Windows and created VM from ...
0
votes
0
answers
46
views
I found a strange problem when using il2cpp to package a mobile platform in Unity
In my scene, there are some 2D objects named BlockRoot, and the layer is Block. As a parent, it only adds a component BoxCollider2D. It has a child with SpriteRenderer to render images. I have a ...
0
votes
1
answer
262
views
How can I call a method in C++ internal DLL for a unity game
My goal is to call a function that gets the current visitor count, but I can't quite figure out how to do it with it not crashing the game. I'm okayish with c++ but am noob with reverse engineering ...
1
vote
0
answers
657
views
Frida il2cppbridge access violation when trying method Add or Insert at System.Collections.Generic.List`1 (List<int>)
I am using Frida il2cppbridge and having the problem that I'm getting always access violation error when trying to add values to generic list.
What I'm doing wrong?
let list = Il2Cpp.corlib.class(&...
0
votes
1
answer
339
views
il2cpp File Missing in Unity-to-iOS Project
I'm currently working on a Unity project that involves Augmented Reality (AR) using Vuforia. Initially, I developed this project on Windows and programmed it for Android. Recently, I decided to test ...
0
votes
0
answers
308
views
Overcoming Unity IL2CPP compiler issues ("error: unknown type name")
I'll try to be brief...
Unity 20022.3.4f1, building for Android w/ IL2CPP backend and ARM64 (for Pico VR).
imported DLL's (through nugetforunity)
Accord.3.8.0
Accord.MachineLearning.3.8.0
Accord.Math....
2
votes
1
answer
349
views
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 ...
0
votes
1
answer
946
views
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 ...
4
votes
1
answer
2k
views
Cannot find file libil2cpp.dbg.so to copy - :unityLibrary:BuildIl2CppTask
I'm building a Unity project for Android on a Windows VM and, when I run Azure DevOps pipelines, I get the following error message:
* What went wrong:
Execution failed for task ':unityLibrary:...
1
vote
0
answers
2k
views
Unity android Build IL2CPP Failed
I am trying to build a project in unity Android. But it fails. I m using google firebase GoogleAuth, Mapbox and Firestore in the project. Mapbox is and Firestore working fine in the project work. I ...
1
vote
0
answers
809
views
Unity Android Build Issue - IL2CPP error (No further information)
I've been trying to make a build for Android with Unity, and I keep getting this error. I've reinstalled the Unity version and a few SDKs, but I can't figure anything out unfortunately. Any help would ...
2
votes
1
answer
339
views
DependencyInjection throw error when compiling with IL2CPP in unity for linux server
I am using the following code in a Utils script and calling this variable each time I want to create a HttpClient:
public static IHttpClientFactory httpClientFactory = new ServiceCollection()....
1
vote
1
answer
2k
views
Fatal error in Unity CIL Linker - conflict with a System folder
guys.
So, the issue is, when I'm trying to make an IL2CPP build, I recieve this:
Building Library\Bee\artifacts\WinPlayerBuildProgram\ManagedStripped failed with output:
C:\Programms\Unity\Editors\...
1
vote
1
answer
1k
views
Working with Files on Hololens 2 (UWP to .NET)
I am developing an application for the HoloLens 2 with Unity. I am still very confused how to connect the UWP environment and the .NET API.
I want to read text files (.txt) as well as binary files (....
3
votes
1
answer
1k
views
Unity Building Linux Il2CPP player requires a sysroot toolchain package to be installed
For some reason I'm unable to build an IL2CPP Linux build in unity.
I used to be able to build IL2CPP Linux builds fine on the same machine using the same version of unity, but it recently stopped ...
0
votes
0
answers
66
views
Unable to access Short Throw ToF Reflectivity camera stream in unity il2cpp backend
I am working with the HoloLens 1 and am able to access the Short Throw ToF Reflectivity stream in UWP, but when i perform the same calls in unity i get the error Exception thrown at 0x775D6452 (...
2
votes
1
answer
2k
views
If IL2CPP on unity is compiled, how come people can mod games? [closed]
I've been developing a game in unity(called Humanity Clicker, if anyone is interested) so I been doing a lot of research on how the engine works and etc.
It just so happens that there are projects, ...
0
votes
0
answers
1k
views
Unity Android. Failed to build with il2cpp. Mono works fine
I'm working on a game in Unity to release to the play store. Whenever I try to build the project, with mono as scripting backend works totally fine, but with il2cpp (to build in 64-bit) it gives some ...
1
vote
2
answers
582
views
how to keep internal type while using il2cpp in Unity3d2020.3.22f
My code:
public static IConfigurationBuilder AddModel<T> (
this IConfigurationBuilder builder,
T model,
JsonSerializerOptions options = null)
{
var dic = new Dictionary<string,...
0
votes
2
answers
4k
views
I'm getting IL2CPP build error for some reason
For some reason, I'm getting build errors. I was be able to build my project clearly with mono. I'm trying to build the project with IL2CPP now and getting some errors.
I tried:
Changing Windows ...
1
vote
0
answers
343
views
Use Unity's il2cpp.exe alone
Can I use Unity's il2cpp.exe alone to convert any .Net Framework Compiled IL binary?
for example, Windows Forms?
Sorry if this is a weird question,
Recently I found the binary compiled with IL ...
1
vote
1
answer
778
views
Dictionary<string, int> throwing exception when serializing with protobuf-net
I am trying to make protobuf-net work with Unity. From the lot of research I've done the last days, it seems to be complicated to get both to work fine together. I have right now a problem I can't get ...
0
votes
2
answers
5k
views
Exception: il2cpp.exe did not run properly
I can't build Android.
Exception: C:\Program Files\Unity\Editor\Data\il2cpp/build/deploy/net471/il2cpp.exe did not run properly!
Exception: C:\Program Files\Unity\Editor\Data\il2cpp/build/deploy/...
2
votes
1
answer
3k
views
Error occurred when 'il2cpp Android build' in Unity
error :
Exception: Failed running D:\UnityEditor\2021.1.9f1\Editor\Data\il2cpp\build/deploy/netcoreapp3.1/UnityLinker.exe @D:/UnityProject/ProjectName/Temp/StagingArea/assets/bin/Data/Managed/...