Search Unity

  1. Unity 2020.2 has been released.
    Dismiss Notice
  2. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

Decompile an apk and open it in Unity?

Discussion in 'Editor & General Support' started by Pesh, Mar 10, 2012.

  1. Pesh

    Pesh

    Joined:
    Feb 27, 2012
    Posts:
    2
    Hi,

    I'm wondering if it would be possible to decompile a game(apk) that was made with Unity so I can learn from it? I'm looking to decompile a few games that were made with Unity and see how they were made in Unity but I don't know if it would be possible.

    Thanks.
     
    toahewkii2007 likes this.
  2. nullstar

    nullstar

    Joined:
    Jul 2, 2010
    Posts:
    186
    Decompiling other peoples games without their permission is a pretty crappy thing to do, and if they would give you permission to do such a thing then they's also probably be willing to just share the source code with you. If I was you I'd just look around for any open source projects to learn from, or if there's anything specific about someones game that you'd like to know how to do then ask the author and they might be willing to share code or tips with you.
     
    KevinOfCathay likes this.
  3. Eric5h5

    Eric5h5

    Volunteer Moderator Moderator

    Joined:
    Jul 19, 2006
    Posts:
    32,276
    It's not. You need a project folder to load into Unity, and compiled games lack most of the information that's in the project folder.

    --Eric
     
  4. Morning

    Morning

    Joined:
    Feb 4, 2012
    Posts:
    1,141
    There are some apk decompilers on the net. I haven't used them myself but I've heard some are quite effective.
    If you can get your hands on the .net assembly .dll file, then you can use a reflector.
     
  5. RANDOM++

    RANDOM++

    Joined:
    Mar 10, 2012
    Posts:
    68
  6. Pesh

    Pesh

    Joined:
    Feb 27, 2012
    Posts:
    2
    Thanks guys. I only want to learn from them and see how it was made. I don't intend to do anything else with them.
     
    toahewkii2007 likes this.
  7. Martin Aitken

    Martin Aitken

    Joined:
    Nov 27, 2013
    Posts:
    5
    So is it safe to send an apk as a demo for a Unity asset (basically scripts)?
    Thanks.
     
  8. antony-francis

    antony-francis

    Joined:
    Jun 27, 2015
    Posts:
    1
    you can decompile a apk but u canot open it in unity because it is nomore supported in unity!!!!!!!
     
  9. Java_Cs_Geek

    Java_Cs_Geek

    Joined:
    Apr 3, 2016
    Posts:
    1
    You can't because unity first compiles all scripts and objects to c++ and then from c++ to android native or ios. So you must drcompile the apk and then from this java source you must make c++ source and then decompile this c++ to unity project. It can br done but it will be easyer to make app clone using unity.
     
  10. remy1207

    remy1207

    Joined:
    Jun 8, 2017
    Posts:
    5
    Hi, i know how to decompile apk unity game as critical ops as exemple.That isn't too dificult..you just need some tools:
    -Asset Bundle extractor 2.1d
    -and unity Studio 0.7
     
  11. remy1207

    remy1207

    Joined:
    Jun 8, 2017
    Posts:
    5
    1.PNG open Unity asset bundle extractor 2.1d
     
  12. remy1207

    remy1207

    Joined:
    Jun 8, 2017
    Posts:
    5
    2.PNG then select the file in apk that you want to decompile
     
  13. remy1207

    remy1207

    Joined:
    Jun 8, 2017
    Posts:
    5
    3.PNG open Unity Studio 0.7,
    open your new file as a "Unity bundle File"
     
  14. remy1207

    remy1207

    Joined:
    Jun 8, 2017
    Posts:
    5
    Then,just see the assets and you just have to export them after... 4.PNG
     
  15. Max_Rt

    Max_Rt

    Joined:
    Jul 11, 2017
    Posts:
    1
  16. Palaxy_10

    Palaxy_10

    Joined:
    Aug 22, 2020
    Posts:
    1
    [QUOTE = "nullstar, publicación: 857402, miembro: 21464"] Descompilar juegos de otras personas sin su permiso es una cosa bastante horrible, y si te dieran permiso para hacer tal cosa, probablemente también estén dispuestos a hacerlo. comparte el código fuente contigo. Si yo fuera usted, simplemente buscaría proyectos de código abierto del que aprender, o si hay algo específico sobre el juego de alguien que le gustaría saber cómo hacer, pregúntele al autor y tal vez esté dispuesto a compartir código o consejos contigo. [/ QUOTE]

    mi mi caso hice una app hace varios años, subi el apk a drive, pero ahora ya no tengo la lap donde la hice por primera vez, pero descargure mi .apk , quisiera abrirlo en unity, para no volver a hacer todo el trabajo de nuevo, es posible ?
     
unityunity