• 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 Patrick_van_Duyse · Apr 11, 2014 at 05:25 PM · errorshadertexturemeshprefab

Prefabs made in Unity are insanely slow, and don't show textures.

I have been creating a level for a game, and when it came time for me to export it, I put all of the objects in a game empty, then dragged the game empty into my prefabs folder. Then I tested it by dragging the prefab(the game empty) back onto my scene and ran into problems. The prefab took a long time to load and while it was loading the individual objects looked very weird. Eventually it stopped loading and all of the objects where textured as dirt (my default texture). I also noticed that my console had a whole lot of notifications saying something like:

Shader wants normals, but the mesh pb_Mesh-3498 doesn't have them UnityEditor.DockArea:OnGUI()

It added up to 30 copies of 660 notifications, each with a different number after the "pb_Mech-".

I also have had problems with trying to retexture some of the individual objects.

What am I doing wrong and is there an easy way to fix this problem? Is there a way for me to convert a level into a package that I can send to someone without having this problem?

Update: After 2 weeks I still haven't fixed this problem. Anyone have any ideas? I really need to fix this.

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 Benproductions1 · Apr 12, 2014 at 04:06 AM 0
Share

The problem is, that your models need normals. You can generate the normals through the import settings.

avatar image Patrick_van_Duyse · Apr 12, 2014 at 10:30 PM 0
Share

Could you please explain with a bit more details? I'm very new at this. I do know that all of the objects behaved normally until I tried to make a prefab though.

avatar image Simon-Larsen · Apr 12, 2014 at 11:34 PM 0
Share

If the purpose is just to send the scene with all its elements, then you can just right click the scene in your Project view and select export and make sure you include all dependencies

avatar image Patrick_van_Duyse · Apr 14, 2014 at 03:46 PM 0
Share

The purpose is to create a prefab, then to export it. The problem isn't the exporting part, but the prefab. As I said I made a prefab by putting all of the objects in a game empty, then I dragged the game empty into my prefabs folder, thus making it a prefab. But then when I tried to apply the prefab, I started having problems. So the problem isn't in the exporting, but in making it a prefab. And in this case, changing the prefab so that I can use it without having all of these problems. Just exporting the scene isn't enough as I need to use the level as a model/prefab into another scene.

0 Replies

· Add your reply
  • Sort: 

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

How to get a sphere surface with a solid angle through script? 1 Answer

Mesh Clipping / Cross Sections 1 Answer

Simple mesh deformation : Mesh.vertices or vertex shader with displacement texture ? 1 Answer

Triplanar surface shader not responding to Mesh.Colors 0 Answers

Make transparency ignore meshes inside? 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