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 fhade · Jan 11, 2012 at 06:21 AM · texturebugslowassign

How to make unity, auto assign shader and texture correctly?

I just started using Unity couple of week. One of the reason I stick to it so long was because the pipeline seemed smooth until I actually started bringing my model into unity.

Whenever I bring model into Unity using FBX or other format, I can only get the diffuse to auto assign to the object at most. I understand the new version they will be able to fix this bug to get other maps to auto assign. Is there a way to fix this through script in the mean time? Not being a programmer I read up on the post processing scripts but couldn't figure it out how to do it.

Currently i am thinking twice about using normal/spec lighting maps in my projects because of changes by client I would have to do unproductive stuff of reassign maps which takes up alot of time. I couldn't find useful scripts on Asset store. I did find some scripts that require rigid naming conventions. If there is any better way to get around this bug it would be great. Thanks!

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 syclamoth · Jan 11, 2012 at 06:42 AM 0
Share

Does your fbx model actually store detailed material information?

avatar image fhade · Jan 11, 2012 at 09:46 AM 0
Share

Yea I would think so because Diffuse comes through. I set it to embed media as well when exporting. I also tried Shiva3D using the collada/DAE format and both spec and diffuse will auto assign. The rest I have to apply manually if needed especially normal/lightmap.

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by eaglemaster7 · Jan 11, 2012 at 08:52 AM

import textures first then object, unity will recognise it.

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 fhade · Jan 11, 2012 at 09:31 AM 0
Share

Interesting.. will try this when I get home. thks.

avatar image
0

Answer by Elecman · Oct 26, 2018 at 12:58 AM

You can also auto assign them by script. See here for an example: https://forum.unity.com/threads/automatically-assign-all-textures-to-all-materials.497154/

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

7 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

3D Text Mesh : Font Texture change to a Blank (Black) On Project Save 1 Answer

Assigning UV Map to model at runtime 0 Answers

Texture select screen empty - bug? 1 Answer

www-Class for loading local texture is very slow 2 Answers

BUG: Editor shows no GameObjects 1 Answer


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