Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 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
1
Question by Anonymoose54 · Mar 16, 2014 at 04:41 PM · level-designgame save

Changes to one map affect another. Help?!

During the development of my game, I decided to make use of the application.loadlevel command by making a portal to another level somewhere within the map. I created the level I wanted the portal to lead to by entering the Assets folder and copying and pasting the original level. The copy was what I wanted the application.loadlevel command to load and it was located in the same folder (Assets) as the original. I didn't want the next level to be an exact copy of the first so I flattened the terrain, got rid of any trees, bushes, and grass, and deleted most of the gameobjects. That's all I did. The next step was to create the portal in the original level, so I saved my changes to the new level and loaded the original, only to find that the terrain was flattened and all the trees, bushes, and grass were completely gone! The gameobjects were still in their proper positions (including the ones I deleted or moved within the copy). I couldn't undo these changes on either level (obviously because I had saved my changes to the copy). I tried right-clicking on the original level and restoring it to a previous version from three days ago, but all it did was move and resize the gameobjects, not the terrain. I have read elsewhere that changes to assets are saved automatically. I am frustrated because this game was created by four other people and I and I took it home to finish. I don't want to have to say I screwed the map over. Could someone please tell me why this happened and if there's any way to undo it? Thanks in advance.

Comment
Add comment · Show 4
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 Anonymoose54 · Mar 16, 2014 at 04:59 PM 0
Share

Would it help to delete the copy?

avatar image wildex999 · Mar 16, 2014 at 05:29 PM 1
Share

Can't help you with this, but a quick tip. Before trying any "fixes", make a backup in case it can be fixed ;)

avatar image Anonymoose54 · Mar 16, 2014 at 05:36 PM 0
Share

Thanks, will do :)

avatar image getyour411 · Mar 16, 2014 at 08:44 PM 1
Share

When you copy/paste the level, you probably included the terrain itself, which, if you look at it, has in the Terrain Collider area a field for Terrain Data with the name of the TerrainData object. After the copy/paste, both terrains (orig/new) probably still point to same TerrainData obj, so changes in one affected both.

1 Reply

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

Answer by Anonymoose54 · Mar 16, 2014 at 09:05 PM

getyour411, you're the best!

It was true that both terrains pointed to the same terrain data object. I right-clicked the terrain data object in the explorer and restored the terrain to a version from three days ago. Thanks a million!

Comment
Add comment · 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

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

21 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 avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

How can I make the level restart when someone presses R 3 Answers

How to load levels with colliders? 1 Answer

NullReferenceException help 0 Answers

Ivisible objects when i import them? 1 Answer

How to add MoPub Interstitial ads between levels? 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