Editor keyframe draw preformance

Slate Forums Support Editor keyframe draw preformance

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #965
    mike670
    Participant

    Hello,

    First, I just want to say I really like the Slate extension, switching from Cinema Director mid project because of issues.

    One thing I have noticed with my cutscene getting larger, the editor view-port’s FPS has dramatically reduced to an almost unusable state. I think I have traced it to the drawing of keyframes in the editor window. I can have as many actors as I want without issues, but having a lot of keyframes in one cutscene bogs it down, with my current scene profiling at 11ms on DockArea.OnGUI().

    Breaking the main cutscene into sub cutscenes and playing them in a master cutscene solves the problem, but is not prefered as it makes setting up the secions more difficult.

    I have attached an isolated example of the issue, I have excluded the package, which you will need to import.
    With the editor closed, the scene view works as expected, when the editor is opened, the FPS of the scene view drops.
    The issues gets worse the more keyframes are present in the cutscene, regardless if all on one object or a few keyframes on a larger set of actors.

    If you could investigate this issue, it would be greatly appreciated.
    I am using Unity 5.5.1f1 and package version 1.6.5

    Thank you for your time,

    -Michael

    #966
    mike670
    Participant

    It seems .zip files are not permitted, here it is in an unityPackage

    Attachments:
    You must be logged in to view attached files.
    #968
    Gavalakis
    Keymaster

    Hello,

    Thanks! I am really glad you like Slate 🙂
    I recently traced this performance issue and it was not due to the number of keyframes drawn in the Slate editor window (they are actually very fast), but rather due to the 3D animation curves/paths drawn in the Scene View (even though in your example there is no path since all keyframes are the same).
    I have just send you the fix package to your registered email account. Let me know if things indeed work fast same as they do here after you import it.

    Thanks again!

    Join us on Discord: https://discord.gg/97q2Rjh

    #969
    mike670
    Participant

    Gavalakis,

    Thanks for the super quick reply!

    That was definitely the issue, the frame rate has dramatically improved. There is still a small frame drop with the cutscene open, but it is workable now. Since I am not using the curves myself, I commented them out and now have 0 fps drop when editing a cutscene.

    Thanks!

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.