Search Unity

Question StringTableEditor.UndoRedoPerformed incredibly (very) slow !

Discussion in 'Localization Tools' started by osgseb, Nov 15, 2022.

  1. osgseb

    osgseb

    Joined:
    Jan 17, 2022
    Posts:
    26
    Hello @karl_jones ,

    I'm working in a project using localized string inside a Timeline and when performing an undo action (ctrl + z) the application freeze for few seconds, like 7 seconds or more. Using the profiler I was able to tracks down what was taking so long and it appears to be StringTableEditor.UndoRedoPerformed.

    I attach a screenshot showing how a Menu.Undo took 7204.58 ms and how StringTableEditor.UndoRedoPerformed takes 6704.59 ms alone. That's really a lot and makes edit our Timeline really painful.

    Any idea how to improve that ?
    Thanks
    Capture d’écran 2022-11-15 à 16.50.13.png
     
    Last edited: Nov 15, 2022
  2. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    8,282
    This sounds familiar. We are aware of some performance issues with Undo but I don't know the current status. I'm away at the moment but I can check next week. I don't believe there are any workarounds at the moment.
     
  3. osgseb

    osgseb

    Joined:
    Jan 17, 2022
    Posts:
    26
    Hello,

    At least that something known by the team so I keep hope it will be fixed at some point.

    Thanks
     
    karl_jones likes this.