Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Bug Performance regression while previewing animations in Model Importer

Discussion in '2020.2 Beta' started by b4gn0, Sep 8, 2020.

  1. b4gn0

    b4gn0

    Joined:
    Jul 26, 2019
    Posts:
    119
    This is a long shot as this bug has been hassling our team for quite some versions now.

    When working with model import to preview animations, after a while the editor starts hiccup-ing exactly each 500ms, for 500ms.

    This is what the profiler (attached to the Editor) reports:
    View attachment 695645

    In here it is quite clear that the problem resides with "Editor.Model Importer.OnInspectorGUI".

    Restarting the editor seems to temporary fix the problem, so it kinda smells like a memory leak of some kind.

    I can't attache profiler data because of size (17MB).

    Unity v. 2020.2.0b1
    UI Toolkit v1.0.0-preview.8
     
  2. Peter77

    Peter77

    QA Jesus

    Joined:
    Jun 12, 2013
    Posts:
    6,569
    If you have a project where you're able to reproduce this issue, any chance you can submit a bug-report as described in this document?
    https://unity3d.com/unity/qa/bug-reporting

    It's important to report these issues together with a reproduction project if you want them to get fixed. If you don't do it, it might be a long time until someone else reports them or until Unity Technologies find them.

    After you submitted the bug-report, you receive a confirmation email with a bug-report Case number. Please post the Case number (number only, not the link) in this forum thread for Unity staff to pick up.
     
  3. b4gn0

    b4gn0

    Joined:
    Jul 26, 2019
    Posts:
    119
    Hi Peter77, unfortunately I haven't been able to pinpoint what steps to do to reproduce the issue, less so create a minimal case project.

    Restarting Unity temporarily fixes the problem and for now doing so is less time investing for us than "debugging" the problem.

    It seems like not much people have this problem (or they don't care to report it), so this will join the other not-editor-braking minor-annoyance bugs that force us to spend more time "pleasing" or waiting the editor than developing the game.

    The last 3 alpha and beta versions introduced 3 major editor, play and build breaking bugs that we reported, and it's honestly quite a bit of work doing that each time so we invest time only if the game or editor are completely unusable:

    https://forum.unity.com/threads/ani...eral-meters-since-version-2020-2-0a21.969636/

    https://forum.unity.com/threads/build-from-version-2020-2-0a21-completely-broken.969585/

    https://forum.unity.com/threads/2020-2-0b2-playmode-crash.968568/#post-6310245
     
  4. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    3,124
    Hi @b4gn0,

    Do you know when this started to happen? Even if you don't include a reproduction project, we'd still appreciate it if you could submit a bug report for it that describes the problem and the circumstances under which it appears. Basically the information you already shared in this thread.

    This will ensure that it's in our system and even if we won't be able to reproduce or resolve the problem now, it might still be helpful down the line and justify a deeper investigation in case we receive more reports about it.