Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Upgrading Unity causes significant performance degradation
#2
Hi
  1. Is this a Curvy related issue?
    It seems to me that it is not, since the Update method is taking nearly the same time in both scenarios. Also, the increase in CPU usage is done inside a method waiting for GFX commands. Curvy is mostly about CPU work, and not graphics one, so I doubt anything in Curvy could make the wait for graphics commands longer.I looked in Curvy's code for all the usages of the Invoke method (which is a Unity method used mostly to call methods with a delay). I found only one usage of the Invoke method on the CurvyGenerator's Update method. The call stack pf the Update method in the profiler's screenshot is clearly different from the one calling the Invoke method, but for the sake of completeness, let's ignore this point. The Invoke method is called inside the editor of property drawers. So to make a test, let's try to not make that code execute. That means: please try profiling again while making sure that no Generator window (or any other window from Curvy) is open, and no Curvy related game object is shown in the inspector. Did this change the profiling result?
  2. How to solve the issue?
    Based on my belief that this is due to a regression in Unity, please look in their forums (and internet in general) if anyone had the same issue. If no luck with that, try using the Unity versions between 2020.3.22f1 and 2020.3.25f to define which version introduced the regression. Once that done, look at its release notes, maybe something in their might help. Otherwise, open a unity bug ticket with all the details you have. Creating a forum thread on their forums might help too.
I hope that this will lead you to solve the issue.All the best, and have a nice day
Please consider leaving a review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.
Reply


Messages In This Thread
RE: Upgrading Unity causes significant performance degradation - by _Aka_ - 05-22-2022, 07:13 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
Information New free asset: Converter For Unity Splines _Aka_ 5 18 04-25-2024, 11:11 AM
Last Post: _Aka_
  Using Unity's SplineContainer in Curvy Splines dlees9191 3 15 02-26-2024, 09:49 AM
Last Post: _Aka_
  Unity 2021.2 Overlay System nehvaleem 5 17 12-15-2023, 10:09 AM
Last Post: _Aka_
  I want to improve the performance of Variable Mix Shapes yanke 7 8 07-27-2023, 09:15 PM
Last Post: _Aka_

Forum Jump: