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 csciguy · Nov 09, 2010 at 03:46 PM · materialimportmissingunitypackage

Problem importing assets from a unitypackage

Hello.

I've got a series of assets on one PC that are built in max. I bring these in to unity fine and lay them out in a scene. I then export these items into a unitypackage using the export function.

I take the unity package over to another computer and import the package. All models show up, but every single model is missing its previously assigned textures. I can drag the model into the scene and they're showing up pure white, and all materials are "missing".

What am I doing wrong? All materials/textures/assets are being exported when I do the export...

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

3 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by StephanK · Nov 09, 2010 at 05:19 PM

What did you export? Try to either export the scene file or make prefabs of the correctly setup objects and export those. Be sure to "include dependencies" in the export dialog.

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 csciguy · Nov 09, 2010 at 06:03 PM 0
Share

I exported everything in the scene. Aren't the correctly setup objects already prefabs? I did make sure "include dependencies" are checked. Thanks.

avatar image StephanK · Nov 09, 2010 at 07:23 PM 0
Share

They're "models", which are simiar to prefabs, but they are not. Did you export "everything in the scene" or "the scene"? Could be a difference.

avatar image csciguy · Nov 09, 2010 at 11:28 PM 0
Share

I've tried both. I even tried exporting just the individual models (from the project tab) themselves.

avatar image
0
Wiki

Answer by Ben 16 · Mar 09, 2011 at 07:11 PM

I am having a similar problem. Our artist builds things in max, imports into Unity and then exports a package of the folder containing prefab, fbx import and all dependencies. When I open them in unity everything imports, but the textures aren't assigned to the materials correctly. The materials are there with shaders and lightmaps, just the main texture is falling off, even though it is imported. Not a major thing on something small, but when importing an entire scene it's a nightmare to go through each shader and have to re-set all the textures. Thing is that it seems to be only me that's experiencing this, my other colleagues don't tend to have the same problem, but we can't see any reason for something being different???

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 csciguy · Mar 10, 2011 at 12:52 PM 0
Share

I ended up switching over to the .fbx files from max ins$$anonymous$$d of trying to mess with Unitypackages. You can drag the .fbx into the assets folder and Unity will automatically assign everything. I could never get the textures to assign correctly the other way and it became too much of a problem. I haven't had this issue with just importing the .fbx alone however.

avatar image Ben 16 · Mar 15, 2011 at 09:42 AM 0
Share

yeah that's the problem though, the artist is doing what you describe above, but then he has to get the stuff to me, and the most sensible way to do that is with unity packages. I've discovered that it happens when I'm importing a new package that contains textures that one I already have unpackaged into my project. The solution I have just now is to just unpackage, build my asset bundle, and then delete as I go along.

avatar image
0

Answer by Favo-Yang · Apr 07, 2011 at 07:17 AM

I got the same issue and consider that's a bug for Unity. However, as a work around - create all your fbx instances to prefab. Prefab can be export / import with correct textures references.

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

No one has followed this question yet.

Related Questions

How to fix imported materials 1 Answer

How to update imported assets from a unity package? 3 Answers

Where did the materials properties go? 0 Answers

Creating a Material from shader string 2 Answers

Material doesn't have a texture property? 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