• 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 andyasj · Aug 29, 2018 at 11:21 AM · meshparticlesreference

Particle mesh reference lost on Play

I have various particle system prefabs with the renderer set to a low poly sphere mesh. Every time I run in the editor these references are lost.
Sometimes the references are also lost from the prefab from which they are instantiated!

If I build and run to a tablet before playing in the editor then it works fine on the tablet.

Any ideas anyone?

Unity 2018.2.5f1 personal

Comment
Add comment · Show 1
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 saffyrah · Dec 19, 2019 at 09:57 AM 0
Share

Hi! I'm having the same issue in Unity 2018.2.8f1. Does anyone know of a solution other than changing the mesh? I'm assigning a mesh asset and instantiating the the particle system in an object pool. I've tried reassigning the missing asset through code, and I can see it has been assigned but it is still not visible in the editor at play. If I however pause the editor and reassign it manually (drag and drop), it suddenly works. Any ideas how to solve this? Updating my Unity version is not an option unfortunately (I understand this is an issue that has been fixed in later versions).,Hi! I'm having the same problem in Unity 2018.2.8f1. Is there any other solution to this than to change mesh? I'm assigning a mesh asset... but have also tried re-assigning the lost asset through code, only that doesn't work either. If I however pause the editor and assign the asset again by dragging it in place, it suddenly works :/

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by karl_jones · Aug 29, 2018 at 12:53 PM

Sounds like you are assigning non persistent references. Are you assigning a mesh asset or one created/instantiated in a script?

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 andyasj · Aug 29, 2018 at 12:55 PM 0
Share

An asset mesh from fbx file.

avatar image karl_jones ♦♦ andyasj · Aug 29, 2018 at 06:08 PM 0
Share

Are you assigning them by code or just dragging them into the inspector?

avatar image andyasj · Aug 30, 2018 at 02:13 PM 0
Share

Dragging in the aditor. I tried a different mesh and it works fine now. There must be something incompatible with the mesh I was using, though it diplayed fine in the editor and on android.

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

105 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 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 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 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 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

Road Clean Game 3 Answers

Best Method For Best Particles? 1 Answer

Is there a way to add mesh, being modified during play mode, to particle component to emit particles from it? 2 Answers

Simulating a spill of liquid 0 Answers

May I substitue the default particles with my particular mesh? 2 Answers


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