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
0
Question by MichaelMcFarland · Apr 12, 2014 at 02:09 AM · textureprefabprefab connection

Changing a broken prefabs terrain material

I'm starting to try to use prefabs and I have a problem. My prefab has a terrain in it with a simple texture. I can't seem to get only one individual instance of the prefab to change its texture to something unique. I broke the prefab instance but the texture still applies to all instances. Any ideas what I'm doing wrong?

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

1 Reply

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

Answer by freerunningparkourtraceur · Apr 12, 2014 at 03:16 AM

If I understand correctly,

It may not be the prefab or texture, but the material your object is using.

If two objects share a material, when you change the texture on the first object, the second object's texture will change as well. You might just have to make separate materials for your separate objects. :)

Comment
Add comment · Show 4 · 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 MichaelMcFarland · Apr 12, 2014 at 03:35 AM 0
Share

I'm using the Terrain (Script) that seems be the default component for editing terrain. That looks like it directly accesses the textures. I'm not explicitly using any materials right now, do the components use them in the background?

avatar image getyour411 · Apr 12, 2014 at 04:45 AM 0
Share

Ins$$anonymous$$d of the Terrain(Script), look at the Terrain Collider // Terrain Data field. Do the terrains and behaviour you are desribing share the same value in the Terrain Data field

avatar image freerunningparkourtraceur · Apr 12, 2014 at 05:37 AM 0
Share

Ahhhh I haven't used a Terrain(Script) in a while. Sorry about my answer.

What exactly is your goal with Terrains?

Terrains are stored differently from other objects. Its instances can't be edited individually.

If you wanna have multiple terrains, you'll probably have to go create a whole new one from the GameObject menu.

avatar image MichaelMcFarland · Apr 12, 2014 at 06:30 AM 0
Share

Creating multiple terrains worked. I didn't think that far outside of the box :) Thanks for the help!

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

22 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

Related Questions

Randomize texture within prefab 0 Answers

How to apply a texture to a prefab? 2 Answers

Suggestions for Prefabs which refer to other Prefabs 0 Answers

Premade Texture Use 1 Answer

Prefab Material 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