Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Is it possible to not have data folder?

Discussion in 'Editor & General Support' started by LegendWill, Jun 20, 2014.

  1. LegendWill

    LegendWill

    Joined:
    Jun 20, 2014
    Posts:
    9
    So, I just finished my first test project. I noticed that when you launch the .exe file, it HAS to have the data folder in the same location. Is it possible to avoid this? Can I just bring the executable anywhere I want or does it absolutely have to be there?
     
  2. Eric5h5

    Eric5h5

    Volunteer Moderator Moderator

    Joined:
    Jul 19, 2006
    Posts:
    32,398
    It has to be there; that's where all the game data is. The executable is just a shell that runs it.

    --Eric
     
    LegendWill likes this.
  3. ElvisAlistar

    ElvisAlistar

    Unity Technologies

    Joined:
    Oct 2, 2013
    Posts:
    226
    Yup, if you need to distribute your game by using one file, just zip the exe and the data folder together.
     
  4. Fizzy506

    Fizzy506

    Joined:
    Oct 13, 2021
    Posts:
    1
    where do i find the data folder?
     
  5. sngdan

    sngdan

    Joined:
    Feb 7, 2014
    Posts:
    1,131
    Load”$”,8
     
    Lurking-Ninja likes this.