• 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.

T$$anonymous$$s is just one of the 700-somet$$anonymous$$ng warnings I'm seeing in the Console Window:

Instantiating mesh due to calling MeshFilter.mesh during edit mode. T$$anonymous$$s 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 t$$anonymous$$s 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 t$$anonymous$$s is a repeat issue but I looked $$anonymous$$gh 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 t$$anonymous$$s plug-in is the culprit. Sorry I don't know any info about t$$anonymous$$s plug-in.

Also of note, the other artists who use t$$anonymous$$s tool never saw t$$anonymous$$s issue before, so maybe it's my grap$$anonymous$$cs 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.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

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 can I save multiple instances of a single prefab? 1 Answer

prefab navagent doesnt work,prefab navmesh doesnt work 1 Answer

Changes done in prefab script get applied to all instances of that prefab. 0 Answers

Creating a weapon database from prefabs 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