OndrejNepozitek / Edgar-Unity

Unity Procedural Level Generator
https://ondrejnepozitek.github.io/Edgar-Unity/docs/introduction
MIT License
817 stars 70 forks source link

Slow response times in Level Graph Inspector #97

Closed nicvst closed 3 years ago

nicvst commented 3 years ago

Loving the package so far, but having a small issue with inspector performance.

Tested in fresh project, 2020.3.4f1, v2.0.0 alpha 8 . The Inspector for Level Graphs lags behind by about a third to half a second.

https://user-images.githubusercontent.com/64606744/115620910-169d6380-a2f6-11eb-9ff8-f14c154b49a3.mp4


Other inspectors in the package work fine.

https://user-images.githubusercontent.com/64606744/115620939-1e5d0800-a2f6-11eb-9baf-1536a802d050.mp4

This problem can mostly be avoided by setting up the level graphs as early as possible and only editing the sets from there on, but it's a minor annoyance and I'm still wondering if this is a me-problem.

OndrejNepozitek commented 3 years ago

Thanks for reporting the problem and for the videos! I think that I also ran into some issues with the inspector but as you said it was just a minor annoyance so I haven't investigated further. I think that something must have changed between the versions of Unity because I haven't seen any problems in Unity 2018 which is the version in which I primarily develop the asset (to make it compatible with older versions).

I'll look into that in the following days.

OndrejNepozitek commented 3 years ago

This should be fixed in the hotfix build that I just released. It affected only the PRO version of the asset because it was caused by the custom room and connection type dropdowns. If you decide to download the hotfix release, please let me know if it worked.

nicvst commented 3 years ago

Just checked it out, works flawlessly. Thanks for the ridiculously fast response!