Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by evandrix · Feb 09, 2021 at 07:54 PM · il2cpp

il2cpp compilation error

tried to compile Hello World example C# => C++ => EXE, but it's failing to find "Libil2cppLackey.dll"

anyone has encountered this before?

Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image JoshPeterson · Feb 10, 2021 at 12:24 PM 0
Share

Can you provide the specific error message?

2 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by djkaty · Feb 12, 2021 at 06:20 PM

The correct answer is that you can only create DLLs with more recent versions of il2cpp, it used to be possible to generate EXE files directly but this was dropped/is broken as of Unity 2019.

Comment
Add comment · Show 5 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image evandrix · Feb 12, 2021 at 06:31 PM 0
Share

yeah, i was trying on Unity v2019.4.19f1 LTS (Windows)

avatar image evandrix · Feb 12, 2021 at 07:06 PM 0
Share

if only creating a DLL works, then how should the HelloWorld C# source code be modified to become the entry point, or an exported ordinal, that can be invoked via rundll32?

avatar image djkaty evandrix · Feb 12, 2021 at 07:36 PM 0
Share

Unless you want to create a harness with the canned windows .exe stub and UnityPlayer.dll that ship with Unity, or make a an app that imports the DLL and calls il2cpp_init yourself, you don't. Create a Unity project with Unity. The standalone build tool in Il2CppInspector is really only intended for test case generation whereby the output files are fed into Il2CppInspector for compatibility integration tests, it is not for creating complete applications. To make a Unity application, you should use Unity :)

avatar image evandrix djkaty · Feb 12, 2021 at 07:46 PM 0
Share

ah okay, i was just exploring whether this could be an obfuscator for an implant

Show more comments
avatar image
0

Answer by evandrix · Feb 10, 2021 at 02:27 PM

sure, i was trying to follow https://katyscode.wordpress.com/2020/06/24/il2cpp-part-1

 il2cpp.exe didn't catch exception: System.IO.DirectoryNotFoundException: Could not find a part of the path 'toolchain\il2cpp\Libil2cppLackey'.
Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image JoshPeterson · Feb 10, 2021 at 02:46 PM 0
Share

Thanks for the details. Unity only supports use of il2cpp.exe via the Unity editor. This use of the in a standalone capacity is not supported.

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

111 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Can't builder IOS in Unity5.0f4 Exception:UnusedBytecodeStripper2.exe 1 Answer

Unity 5.0.2 iOS IL2CPP Networking RPC Issues 1 Answer

IL2CPP Build error with enum or coroutine. 0 Answers

iOS build error (5.3.6p6) "UnusedBytecodeStripper2.exe" did not run properly! 1 Answer

Why doesn't IL2CPP support latest version of NDK? 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges