Slow UI Performance

   3474   5   0
User Avatar
Member
17 posts
Joined: 1月 2013
Offline
Hi!

HDA interactivity in Unity with complex UI which include tens parameters are very slow.
The performance was significantly increased, when I removed a huge part of the parameters from the type properties.
How can I improve performance with complex UI?
Edited by vchernobai - 2019年6月20日 15:42:20
User Avatar
Member
571 posts
Joined: 5月 2017
Offline
This has been an ongoing problem, mainly due to the serialization mechanism in Unity for undo. But I can take a look at it again to see if there are any areas for improvement. Could you tell me what type of parms were causing the slow down? Any reproducible HDAs that you can provide?

Also which Unity version.
Edited by seelan - 2019年6月28日 10:21:15
User Avatar
Member
17 posts
Joined: 1月 2013
Offline
The slowest parameter is ramp. But performance also depends heavily on the number of other parameters.
Attached files have two simple assets.
The first is just a sphere with one parameter for adjust scale.
In the second, the same sphere with the same parameter, but also added parameters for complicating the interface, which are not involved within the asset itself.
And they still reduce the performance of the interface.

Houdini version - 17.5.258
Unity version - 2018.4.0f1

But this problem was also in earlier versions.
Edited by vchernobai - 2019年7月1日 02:02:25

Attachments:
just_sphere.hda (12.1 KB)
just_sphere_w_manyParms.hda (17.2 KB)

User Avatar
Member
571 posts
Joined: 5月 2017
Offline
Thanks for the details. I'll investigate further.
User Avatar
Member
20 posts
Joined: 9月 2018
Offline
Hi, I am bumping this thread because I am having problems with performance too, Unity ends up freezing for a few seconds whenever I update one parameter, but the network is really not that heavy. The same thing happens when updating a point of a curve that is used by an HDA, it cooks for a few seconds at least wherein Houdini it's instant.

Any idea how to solve this issue?
User Avatar
Member
3 posts
Joined: 11月 2020
Offline
Hi all, I am hitting this issue as well, any clue or fix for this ?
Cheers \m/
  • Quick Links