Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
2 captures
12 Jun 22 - 14 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
3
Question by akumasade · Apr 28, 2017 at 06:02 AM · unity5scenesbuilding

Why is unity is building old versions of my scenes?

Essentially, once I run/build my project, it's building old versions of the scenes (after I've edited them and tested the changes in the editor) and I don't know why. I picked up a project from someone else (for work) and was asked to add some new features. I did that, tested them in the editor and they work alright. So then I try to build it and when I go to run it, and it's the old version of the main menu scene without my edits.

I've tried deleting the Library folder (with all the cashe) and then building from there, but it still builds the old scenes rather than the newly edited ones. I'm a bit new to unity, so is there something else I need to do to have it rebuild completely?

I don't know if it's relevant, but once built, it says the application was last modified long before I put the changes (see below). alt text

grocerystoreoutofdate.png (5.8 kB)
Comment
Add comment
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

4 Replies

· Add your reply
  • Sort: 
avatar image
1
Best Answer

Answer by tanoshimi · Apr 28, 2017 at 08:36 AM

And are you sure that the build is actually succeeding? Delete the last build, or build to a completely new directory just to make sure. And look in the editor log immediately after making a build to check for any errors encountered. Also check the list of included scenes in the build settings to make sure you're not including an old version of the scene.

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 Dsiak · Nov 12, 2017 at 05:59 PM 0
Share

I'm having the same problem OP is having.

Deleting the last build version only got me so far, all of the new behavior was implemented but I can not for the love of Celestia get rid of a old behavior in a button of $$anonymous$$e. It used to delete itself on pointer down, I changed it to something else and now it works on preview and builds without errors, but it still deletes itself on build version.

avatar image
1

Answer by TheChosenBlob · Nov 22, 2018 at 07:36 AM

TL;DR; Close Unity, delete Library and obj, restart Unity and build again.

This is an old question, but we had the same problem so maybe it can help someone else. We're using Unity 2017.3.1p4 BTW.

We updated our loading scene and it was updated in the editor but the Android build didn't include our recent changes. No errors in the build and the APK file's timestamp was recent.

  • I closed Unity

  • Deleted the Library and obj folders

  • Restarted Unity.

  • Had to revert some .meta files (mainly Spine2D related files)

  • Switch the platform back to Android

  • Set the Minify settings to use Proguard.

I then built a new version and the loading scene was updated to the correct version.

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 prathvipatil · Mar 10 at 10:22 AM 0
Share

Worked for me.

avatar image
1

Answer by jkfluffyghost · Jan 12, 2020 at 10:16 PM

I ran across this same issue and found this while trying to fix it. Turns out my problem was something else, I renamed my scene from SampleScene to something actually relevant.

I had to go into Build Settings under the File menu, remove SampleScene, and press the Add Open Scenes button.

Hopefully if someone else is Googling to solve this problem they'll find this!

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
0

Answer by PlasticCogLiquid · Jan 28, 2019 at 05:04 AM

So what causes this? I just ran into the same issue and thought I was going crazy!

Comment
Add comment · Show 2 · 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 Awesome123321 · Apr 17, 2019 at 02:29 PM 0
Share

Hi,

Did you manage to figure this one out? $$anonymous$$ind regards,

J

avatar image TheChosenBlob · Apr 18, 2019 at 09:54 AM 0
Share

Did you try to delete the Library folder and restarting Unity?

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

11 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

Related Questions

how to create scenes inside building in unity 2 Answers

How to get the amount of scenes in a build? 1 Answer

Manually Edit EditoBuildSettings.asset 0 Answers

How to put seperate scenes together into one game 1 Answer

Loading Specific Scenes Post-Build 0 Answers


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