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
-
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
- Long Prefab save times when using Unity 2022.2 and higher
- Console displays error "UnityException: Creating asset at path Assets/Scenes/ .scenetemplate failed." during scene template saving
- "Development Build" watermark is shown in non-development UWP release builds
- Console errors appear when the Inspector is set to Debug and a GameObject is selected
- A script public variable value is not used when set in the Inspector window
Resolution Note (fix version 2022.2):
Fixed in: 2022.2.0a10