• 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
0
Question by VicciGames · Aug 18, 2013 at 03:19 AM · editorterrainassetduplicateterrain data

Duplicated Terrain Object and Data STILL affects other terrains

I've duplicated my terrain data and assigned the appropriate terrain_data from the collider of the individual terrains. I have 49 terrains that stitch together basically as one using a terrain stitch add-on from the asset store. They all stitch perfectly fine, but the problem is this: Only the "EMPTY '(A1 - etc.)'" terrains are acting like only one terrain data is assigned.

Here are some photos:

alt text

alt text

And so on...

As you can see, they all have there own data and such. Also, the other terrains you see that are COMLETELY individual, I used the same method I used to duplicate "EMPTY" Terrains. This is really weird, I can't find a way around this. It should be working as it should. Maybe I have too much terrain data?

I need some help here guys, hope you all can. If you need any more information, please say so.

Thanks for reading.

ss1.jpg (227.2 kB)
ss2.jpg (227.8 kB)
Comment
Add comment · Show 2
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 nosebleed_dre · Oct 08, 2013 at 12:25 PM 0
Share

I'm also having trouble with this. Seems like it's simply ignoring my terrain data.

avatar image JohnnySunshine · Oct 08, 2013 at 02:06 PM 0
Share

Make sure that the Terrains are referencing the correct TerrainData assets (select terrain object, right click on inspector tab, select debug, look for Terrain Data member of Terrain component). There is a difference between Terrain and TerrainData, and duplicating them can cause problems like this.

3 Replies

· Add your reply
  • Sort: 
avatar image
4

Answer by Martian-Games · Feb 19, 2014 at 04:13 AM

Okay this limitation has bothered me enough now, I finally decided to solve this once and for all. Here is the step-by-step solution!!

  1. Select the Terrain prefab AND its corresponding Terrain-Data prefab in your Project folder.

  2. Press Ctrl-D to duplicate BOTH of these objects. (Give them a special name.)

  3. In your project folder, select your NEW Terrain prefab.
    IMPORTANT: In the inspector, click the "Gears" icon in the upper-right corner of Terrain (Script). Select: RESET!!! <-- this does the MAGIC ! :D Now, notice it says "Terrain Asset Missing, Assign" Drag your NEW Terrain-Data prefab (the icon looks like a tiny mountain) onto it.

  4. Now do the same (drag/drop) the NEW Terrain-Data for your Terrain-Collider component.

  5. Finally, drag your NEW Terrain prefab into your scene.

  6. Congratulations! You have a unique terrain you can adjust, paint, edit without effecting the original!

You're Welcome!! ;)

Steven

@MartianGames

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 tarahugger · Aug 22, 2014 at 02:43 AM 0
Share

Thank you so much!

avatar image
4

Answer by realprimo · Nov 24, 2018 at 12:42 PM

  1. Duplicate your Terrain asset (IN YOUR ASSETS FILES).

  2. Duplicate your Terrain object (IN THE HIERARCHY).

  3. Open the Debug window into the inspector of the duplicated terrain object. --- INTO DEBUG WINDOW ---

  4. Terrain -> Terrain data = change to your duplicated terrain asset.

  5. Terrain Collider -> Terrain data = change to your duplicated terrain asset.

Comment
Add comment · Show 3 · 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 4everunity · Feb 17 at 01:18 AM 0
Share

Thank you! This worked for me like a charm!

avatar image unity_Zu20WA9oAdzqlw · May 16 at 09:29 AM 0
Share

Amazing idea, Thanks for helping me.

avatar image Bankler · Sep 14 at 09:13 AM 0
Share

Good find with the debug view! (Also weird that it can't be changed from normal view, at least not in my Unity version, 2017.1.0f3)

avatar image
0

Answer by nosebleed_dre · Oct 08, 2013 at 03:45 PM

Yep. Figured it out. I was trying to set the terrain data rather than actually replacing the terrain itself, as I assumed the data was where it stored everything. Was just a case of deleting the entire terrain that was already in the scene and dragging the correct version in.

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.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

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

Related Questions

Editor Window with settings and Asset Creation 1 Answer

Multiple object Selection in project view: Unity shows wrong type 0 Answers

How turn off tile visualization ("chess board" effect) for terrains in the editor? 2 Answers

Write a Editor to select file from disk and import to unity 1 Answer

Terrain editor cannot create cliffs? 1 Answer

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges