Search Unity

Unity build not changing

Discussion in 'General Discussion' started by CodeWurm, Jan 25, 2021.

  1. CodeWurm

    CodeWurm

    Joined:
    Nov 8, 2014
    Posts:
    316
    If someone could help, I'm really frustrated. Unity keeps building an older version of my scene, my game already changed but I don't know what's wrong.
    I tried to delete my cache but it doesn't work.
    I also got an error repository.cfg not found, I create one but it doesn't help, maybe that effects the building?
     
  2. superpig

    superpig

    Drink more water! Unity Technologies

    Joined:
    Jan 16, 2011
    Posts:
    4,658
    Is it possible that you saved an older version of your scene to a different file at some point, and your build settings are pointed at that different file, instead of the one you are editing?
     
    BlackSheeep_Krish and VR_Vamp like this.
  3. angrypenguin

    angrypenguin

    Joined:
    Dec 29, 2011
    Posts:
    15,620
    First, check that you're running the build from the same place you're building to. Maybe Unity is building the correct thing and you're loading an old one from a different place?

    Also, make sure the build is succeeding. If ITC's not then there's no new build to replace the old one. I don't know if the error you mentioned is fatal, but if it is that explains it. If you can't tell from the console output then try building to a new, empty folder and see if anything shows up.

    In any case, you definitely want to solve that error.
     
  4. CodeWurm

    CodeWurm

    Joined:
    Nov 8, 2014
    Posts:
    316
    S***, I was building another scene with that layout, thank you for the tip!
     
    Haastregt and wango89 like this.