Page 1 of 1

Editor bugs and Performance Issues

Posted: Wed Apr 29, 2020 5:19 am
by Sengi
Hey there, we started to implement your system in our game and have a bunch of annoying bugs regarding Ui.

First of all, the editor is weirdly laggy and drops in performance even though we don't have much of a quest base yet. I'm a bit worried with a scale of our current project will it be at the point of frozen if we will add bunch of quests, or am I missing something. I've tried setting refresh rate of the editor to never, but even with that simple scrolling in window feels really laggy.

Also, we have this kind of rendering bugs that appearing now, or then, reopening the window helps, but its not really a fluent experience at this point.
Image

We also have some strange behavior of UI here and there, like for example here how "Show Quest Relations" look like:
Image

Can we expect a bit of attention at this part of the asset, or do you have some solutions or tips on how to fix it? Thank you!

Unity version: 2019.3.9f1,
Plugin version: 1.2.6

Re: Editor bugs and Performance Issues

Posted: Wed Apr 29, 2020 8:10 am
by Tony Li
Hi,

Since each quest is a separate asset, the number of quests has no effect on editor performance. If possible, can you please provide more details about the lag issue you're experiencing? Do any messages appear in the Console when you're experiencing lag?

The Quest Editor window UI is getting a lot of attention in the next update. Planned improvements include snapping to grid, lasso-selecting multiple nodes, and a few visual tweaks such as clipping nodes to the canvas area so they don't overlap the window heading.

If you have any other suggestions for UI enhancements, please let me know.

"Show Quest Relations" is kind of an experimental feature. It shows each quest's ID, or as much as will fit in the node's heading area. Changes in Unity 2019.3's UI also offset the heading unintentionally, which is something that will be address in the next update. The intent of "Show Quest Relations" is to show link arrows between quests that reference each other. Do you (and any other readers) find this useful? How could it be more useful?

Re: Editor bugs and Performance Issues

Posted: Wed May 27, 2020 6:42 am
by Sengi
Ah, sorry for bringing this up, but the editor window is really a frustration at this point.
Since each quest is a separate asset, the number of quests has no effect on editor performance. If possible, can you please provide more details about the lag issue you're experiencing? Do any messages appear in the Console when you're experiencing lag?
You can easily reproduce it, just create 30 nodes in Quest Machine window and it will be noticeably lagging when dragging. Maybe you could skip rendering nodes that are out of scope in the window? Profiler shows a significant amount of drop rate when you are doing any operations with nodes when their count is a bit more than a few.

When I delete two nodes (sometimes even one) and then rearrange - my quest becomes completely messed up. Here's an example:


Edit: you can see me dragging out cursor and then nodes messing up, all I did was pushing auto-arrange, it's just out of the scope in gif

I can't copy \ paste node, this very disappointing. I know it can be tedious to program, but this such an essential thing, and it's in the roadmap for more than a year.

Sorry again to bring this up, I was hoping to get absolutely different experience based on your reviews in asset store (maybe something whent wrong after one of the Unity updates). I hope your future updates will address this part of the asset.

Re: Editor bugs and Performance Issues

Posted: Wed May 27, 2020 10:10 am
by Tony Li
Hi,

All of these updates are in version 1.2.7, which will be available on the store soon!

Re: Editor bugs and Performance Issues

Posted: Wed May 27, 2020 10:44 am
by Sengi
Thank you for a quick reply!

Hoping the update will smooth things out. Do you have a Discord server to track your updates on assets, or its the best to look up in this forum \asset store?

Re: Editor bugs and Performance Issues

Posted: Wed May 27, 2020 10:52 am
by Tony Li
When 1.2.7 is available, I'll post on the forum here.

The Pixel Crushers discord server is: https://discord.gg/FwUaCNt
But I don't always remember to post update announcements there. It's mostly just for quick chat info.