Hi, I'm using Unity 2022.3.3f1 and Adventure Creator 1.82.1 (latest version).
Recently, I noticed that the Action Editor slows down the longer I work on it. For example, writing comments becomes laggy and difficult to type smoothly. This doesn’t seem to happen with one specific Action or ActionList — all the ActionLists in the scene start to lag over time.
The scene I’m working on has several ActionLists, each with around 50 Actions.
If I switch to a different scene and then return to this one, the lag goes away temporarily but eventually comes back.
I’ve tried collapsing all the Actions and turning off the Game view while working, but these haven’t helped much.
If anyone has tips or suggestions to address this, I’d appreciate it. Thank you!
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
Use Unity's Profiler to run a Deep Profile in "Editor" mode - does it show spikes / lag appearing? If so, select a section and share sceenshots of the Hierarchy view underneath.
Thank you so much for your help!
I’m not very familiar with the Profiler, so I apologize if this screenshot doesn’t include the relevant information: https://imgur.com/a/hYNdhYZ
Just to give you an update, I noticed that there are 2D GameObjects using a specific shader, and when I disable them, the ActionList Editor becomes less slow. However, it’s still laggy, especially when moving or writing comments on Actions.
Please let me know if you need any additional information!
Thank you again!
Are you using any custom Actions?
Duplicate the scene and remove all objects from the copy except for one of the ActionLists, and the GameEngine object. Does this lag still occur, and - if so - is it a case of seconds or minutes before it does, and can you PM me the scene file?
Thank you again for your reply!
Yes, I do have a Custom Action to control my Spine character's eye blink.
I opened the scene and worked on the ActionList, and it took about 8 minutes before it started getting laggy. I then deleted everything in the scene except for the GameEngine GameObject and one ActionList GameObject, but it continued lagging.
However, when I restarted Unity and opened a new scene with just the GameEngine and the ActionList, there was no lag. Maybe the other GameObjects are causing the issue.
Just in case, I'll PM you the scene file and the script for my Custom Action right away.
Thanks for the file.
I'm not noticing any lag - in the original scene, try leaving it open for the 8 minutes but without the ActionList Inspector / Editor being open, and then try viewing them. If the lag is there right away, I'd expect the cause would be from another source.
Thanks for looking into this! I left the scene open for 8 minutes without having the ActionList Editor or Inspector open, and there was no lag. It’s a bit of a puzzling result, but since it’s working now, I think we’re good. Thanks so much for your time!