Search Unity

Question Hdd Died is it possible to salvage anything from a apk build file?

Discussion in 'Editor & General Support' started by iceasson, Dec 6, 2022.

  1. iceasson

    iceasson

    Joined:
    Mar 7, 2022
    Posts:
    15
    Hello unity,

    My Hdd just died and i do not have any back up sadly but i happen to store my latest apk file for testing purpose on my phone so please let me know if there is anything i could do to have my project files back.

    the most important one for me are the c# scripts. i put quite a good time on building the world out but i can do that over again

    also can i do something with visual studio where the codes were written on?
     
    Last edited: Dec 6, 2022
  2. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    38,689
    Mod-maker websites might have something to pull an APK apart, but I doubt it would be very useful.

    You'd almost be better served running the APK in an emulator and screencapping the graphics.

    I'm sorry you've had this issue. Please consider using proper industrial-grade enterprise-qualified source control in order to guard and protect your hard-earned work.

    Personally I use git (completely outside of Unity) because it is free and there are tons of tutorials out there to help you set it up as well as free places to host your repo (BitBucket, Github, Gitlab, etc.).

    You can also push git repositories to other drives: thumb drives, USB drives, network drives, etc., effectively putting a complete copy of the repository there.

    As far as configuring Unity to play nice with git, keep this in mind:

    https://forum.unity.com/threads/prefab-links-keep-getting-dumped-on-git-pull.646600/#post-7142306

    Here's how I use git in one of my games, Jetpack Kurt:

    https://forum.unity.com/threads/2-steps-backwards.965048/#post-6282497

    Using fine-grained source control as you work to refine your engineering:

    https://forum.unity.com/threads/whe...grammer-example-in-text.1048739/#post-6783740

    Share/Sharing source code between projects:

    https://forum.unity.com/threads/your-techniques-to-share-code-between-projects.575959/#post-3835837

    Setting up an appropriate .gitignore file for Unity3D:

    https://forum.unity.com/threads/removing-il2cpp_cache-from-project.1084607/#post-6997067

    Generally setting Unity up (includes above .gitignore concepts):

    https://thoughtbot.com/blog/how-to-git-with-unity

    It is only simple economics that you must expend as much effort into backing it up as you feel the work is worth in the first place. Digital storage is so unbelievably cheap today that you can buy gigabytes of flash drive storage for about the price of a cup of coffee. It's simply ridiculous not to back up.

    "Use source control or you will be really sad sooner or later." - StarManta on the Unity3D forum boards
     
    iceasson and mikejm_ like this.
  3. spiney199

    spiney199

    Joined:
    Feb 11, 2021
    Posts:
    7,844
    There is actually software that can convert built Unity games back into a usable project. Not going to link to them of course because that would likely be not on.
     
    Kurt-Dekker likes this.
  4. iceasson

    iceasson

    Joined:
    Mar 7, 2022
    Posts:
    15

    Thank you so much for the effort you've put in this, This is gold!
     
    Kurt-Dekker likes this.