Search Issue Tracker

Won't Fix

Votes

1

Found in

2018.3.6f1

Issue ID

1140961

Regression

No

Enabling Cloth component stutters the Editor

Physics

-

Reproduction steps:

1. Open "ClothEnable.zip" project
2. Open "SampleScene" Scene
3. Enter Play mode
4. Press "D" to disable the Cloth
5. Press "E" to enable the Cloth
6. Notice a stutter
7. See in the profiler a spike on "clothTEST.Update()"

Expected Result: No stutter when enabling Cloth component
Actual Result: Stutter when enabling Cloth component

Reproduced with: 2019.2.0a10, 2019.1.0b10, 2018.3.11f1, 2017.4.24f1

  1. Response avatar

    Resolution Note:

    Resolving as won't fix as we are only focussing on HUP bugs from now on. If this gets reported again by other users we will consider looking into it.

Comments (1)

  1. 192fbeb6185840da2cfcbf62c15c9ecd?d=mm

    NathanRH

    Aug 16, 2019 13:40

    Yes please fix this!
    We need to disable and enable cloth components for off-screen characters to save performance, but when we enable the cloth there is a huge spike which results in frame drops. There is no way to work around this currently :( I've tried to change enable from another thread, but it doesn't work - the main thread must be used, so it blocks everything else.

    I'm sure Cloth has a lot of 'setup' to do when it is enabled, but it would be nice if there was some sort of option to skip some of this setup for just disabling and reenabling the cloth updates.

    Either that, or also fixing the issue where off-screen cloth that is culled is still updated, would also help.

    Thanks,

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.