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
2
Question by colonelChewy · Dec 16, 2013 at 05:41 PM · bugparticlecullingshurikenautomatically

"Automatic simulation culling support." Particle Culling Bug

With Unity 4.0, the Shuriyuken Particle System received updates. The update that puzzles me is this one.

FEATURE/BUG "Automatic simulation culling support. Particle systems will only update when visible. When it is not possible to support this automatically, Shuriken shows why directly inside the UI."

Find it here.. http://unity3d.com/unity/whats-new/unity-4.0

I'm using NGUI's plugin for Unity. Inside my game I have a particle effect that holds two particle systems that both have a localScale of 1,1,1. I have that particle system nested within another game object, and the particle system has a localPosition of 0,80,0 within its parent game object. Doing this I can easily spin the parent game object which has the effect of the particle system orbiting around a center.

The PROBLEM becomes evident when this assembly rotates near the edge of the screen. If the particle system rotates to a position outside of the camera's view-port, then all of the particles of the particle system immediately shutoff.. then turn on upon re-entry. My question is whether this blinking behaviour is caused by the "Automatic Simulation Culling" feature included in the Unity 4.0 update or is this frustum culling declaring the particle system not visible and refusing to render, and how do I work around it.

[This is irrelevant!] -The particle system is not a mesh, therefore it’s bounds cannot be modified.

[Should I fix this?] -I'm using an orthographic camera and the NGUI UICamera component. NGUI's UIRoot game object is designed to hold all game objects within the scene, and its default scale is (0.002604167,0.002604167,0.002604167).

[I have done this!] -Use a custom shader that overlays NGUI UIPanel assets -The custom shader has “Cull Off” -Manually set the particle system to “isVisible” during the “void onBecomeInvisible()” -Whenever the particle system is not emitting I manually relocate it to the center of the screen.

http://answers.unity3d.com/questions/305032/particles-disappear-when-emitter-shuriken-is-off-s.html http://www.tasharen.com/forum/index.php?topic=5841.0 http://docs.unity3d.com/Documentation/Components/SL-CullAndDepth.html http://forum.unity3d.com/threads/148608-Disable-particle-system-culling http://forum.unity3d.com/threads/71051-Disable-Frustum-Culling

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 Ben-BearFish · Mar 01, 2014 at 08:59 PM 1
Share

I have the same issue. I was wondering how do actually you make the Particle System visible? I know OnBecameVisible and OnBecameInvisible tell us when this happens, but I don't know how to make the actual particles visible after that. I tried setting the enabled variable to true, but this still does not work.

3 Replies

· Add your reply
  • Sort: 
avatar image
3

Answer by wrobel221 · Sep 24, 2014 at 08:38 AM

Non uniform scaling set for ParticleSystem transform seems disabling culling. So I just set scale to 1.01, 1, 1 and it did work for me.

Comment
Add comment · Show 1 · 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 kaaJ · Mar 04, 2016 at 02:02 PM 1
Share

That's the only solution that worked for me

avatar image
1

Answer by Arkade · May 11, 2014 at 07:48 PM

Have you tried enabling SubEmitters per http://answers.unity3d.com/questions/218369/shuriken-particle-system-not-rendering-particles-w.html ?

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
avatar image
1

Answer by mr_duke · Jan 14, 2016 at 11:44 AM

( (ParticleSystemRenderer)gameObject.renderer ).mesh.RecalculateBounds();

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

22 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

Related Questions

Can't play Unity games:Automatically moves/turns without any input 0 Answers

Particles seem to be "masked" by geometry 0 Answers

Shuriken Particle Pivot 2 Answers

Stopping individual Shuriken Particles 0 Answers

LineRenderer objects are clipped/culled early 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