Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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 akrelle52 · Jan 21, 2017 at 06:52 AM · prefabsinstanceprefab-instancemeshfilter

Instantiating Mesh Error - Mesh has Instance added?

Hey Guys,

I'm having trouble with a scene where all of my prefab's mesh models are being replaced with a version that adds "Instance" to the file name. The asset still draws on my computer, but our lighting team is saying lightmaps don't work on these assets AND updating the mesh models/prefabs don't update these assets.

This is just one of the 700-something warnings I'm seeing in the Console Window:

Instantiating mesh due to calling MeshFilter.mesh during edit mode. This will leak meshes. Please use MeshFilter.sharedMesh instead. UnityEngine.MeshFilter:get_mesh() EditorObjExporter:MeshToString(Component, Dictionary`2) (at Assets/Scripts/Editor/EditorObjExporter.cs:37) EditorObjExporter:MeshesToFile(Component[], String, String) (at Assets/Scripts/Editor/EditorObjExporter.cs:207) EditorObjExporter:ExportWholeSelectionToSingle() (at Assets/Scripts/Editor/EditorObjExporter.cs:312)

I've had this issue before and the only way I can fix it is to break all of my prefabs... but first I need to update those assets with the final version. Does anyone know what is going on here? I'm sorry if this is a repeat issue but I looked high and low with no solution. Also, as just a little ol' artist I'm not technically enabled.

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

Answer by akrelle52 · Jan 25, 2017 at 08:10 AM

GOT IT! We have a scene exporting tool that exports all of the geo to OBJs. It appears this plug-in is the culprit. Sorry I don't know any info about this plug-in.

Also of note, the other artists who use this tool never saw this issue before, so maybe it's my graphics card.

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

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

How can you make a Instanciate prefab follow a scene object? 1 Answer

How do I reference any instance of a prefab? 1 Answer

2D UI prefab instantiating wrong position, I can't instatiate my UI prefab in a specific point 0 Answers

Unity loading prefabs difficulties. optimization 1 Answer

Find Source of Prefab Instance in Editor? 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