Search Issue Tracker
Fixed in 2022.2.X
Votes
20
Found in
2018.4.0f1
2018.4.4f1
2019.1.0a1
2019.2.0a1
2019.3.0a1
Issue ID
1173457
Regression
No
Cloth performance drops when increasing the number of GameObjects with Cloth and then decreasing it
How to reproduce:
1. Open the attached project (case_1173457.zip)
2. Enter Play Mode
3. Set the "Active" Cloth slider to 2 > observe FPS
4. Set the slider to 48 > set back to 2
Expected result: FPS value is the same as it was in step 3
Actual result: FPS value decreases twice
Reproducible with: 2018.4.6f1, 2019.1.14f1, 2019.2.1f1, 2019.3.0a11
Notes:
- Could not reproduce on 2017.4.31f1 because of Console errors
- There is a slider offset in newer versions, to reproduce efficiently - mouse pointer needs to be put above the slider to use it
- FPS value drop depends on the computer - can vary from 2x times drop to 4x or even more
Comments (4)
-
makaka-org
Sep 12, 2023 19:13
Related to this issue resolving: In changelog of Unity 2022.2 you indicated that the cloth system is split into three stages: skinning, simulation and read-back.
So, how to get access to each of these stages?
My detailed question is here (as well as resolution for Cloth Scaling in Unity 2022.3+): https://forum.unity.com/threads/how-to-reset-the-cloth-during-runtime.1481910/
-
Jakub_Machowski
Apr 20, 2023 10:48
Will that be fixed in 2021 LTS?
-
TacticalShader
Apr 23, 2020 12:24
If every cloth but one are frustum culled, the simulation cost is the same as if all the clothes are simulated. This can be tested by disabling all the culled clothes and noticing the cost in the profiler.
-
NathanRH
Aug 14, 2019 09:15
This issue makes it almost impossible to have many complex cloth characters. Please fix :)
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
- "Draw Additional Lights Shadowmap" calls increase when custom MaterialBlockProperty is used
- Crash on _platform_memmove when importing the "Dragon Crashers - URP 2D Sample Project" to a new 2D project
- "Shader is not supported on this GPU" warnings and and shaders are not loading when building the project for non-Chromium browsers
- [iOS][URP] The screen flickers and the "Execution of the command buffer was aborted due to an error during execution" error is thrown continuously
- Shortcut Manager shows empty conflict filter when resolving runtime conflicts involving different contexts
Resolution Note (fix version 2022.2):
Fixed in: 2022.2.0a10