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
-
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
- SpeedTree does not move when using WindZone
- "Undeclared identifier 'LinearToSRGB'" error is thrown when creating a color variable with HDR color mode and assigning a Custom Render Texture target in Shader Graph
- Input System package is missing when creating a new HDRP project
- Inconsistent behaviour when interacting with different dropdown types with pointer events on parent Visual Element
- Hidden GameObjects won't re-enable when they have call "DontDestroyOnLoad" function
Resolution Note (fix version 2022.2):
Fixed in: 2022.2.0a10