Search Issue Tracker
Fixed in 2020.2.X
Votes
2
Found in
2017.4
2020.1.0b5
2020.2
Issue ID
1240803
Regression
No
Particles don't get culled when disabled and re-enabled out of Camera's FOV while in Play mode
How to reproduce:
1. Open the user's project
2. Open the "SampleScene" from Assets > Scenes
3. Make sure that the Scene window is closed
4. Enter Play mode
5. Open the Profiler window and search for "ParticleSystem.Update2" under the CPU module
6. Change the Y Rotation of the "Main Camera" GameObject to 90
7. Disable and enable the "ParticleSystem Root" GameObject
Expected result: ParticleSystem.Update2 has 0 calls after 6th and 7th steps because the particles aren't in the FOV of the Camera
Actual result: ParticleSystem.Update2 has 100 calls after the 7th step as if it was in the FOV of the Camera
Reproducible with: 2017.4.40f1, 2018.4.22f1, 2019.3.11f1, 2020.1.0b8, 2020.2.0a9
Notes:
-This still reproduces if 4th and 6th steps are switched
-This doesn't reproduce if the "ParticleSystem Root" is disabled before rotating the Camera and enabled afterward
Comments (1)
-
Peter77
Apr 26, 2020 09:05
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Warning of an unknown Script missing is logged when selecting VFX in Play Mode
- Vertical and horizontal scrollbars appear and disappear when dragging an attribute to a different position within the Shader Graph Hierarchy
- AudioSource.PlayDelayed() does not work with Audio Random Containers
- Compatible with the VFX Graph Shader Graph can't be dragged and dropped into the "Output" block from the Project window
- [Silicon] Freeze/crash on BrotliDecoderDecompressStream when using System.IO.Compression.BrotliDecoder.TryDecompress
Resolution Note (fix version 2020.2):
Fixed in 2020.2.0a21