Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Performance issues
#16
Hello,

I am having similar issues as others have stated regarding performance. In my case, FPS is dropped by 80-100 by one rope (actually 4 rods and ropes). 

V-Sync is turned off. Fixed timestep is 0.01388889 and maximum allowed timestep is 0.02. Tried with 0.04 and 0.05, no luck. Using standard render pipeline (the old one).

I am developing a VR application for Oculus Quest. But the performance issue is same on a PC. Inside the editor, without any of the 6 ropes active, FPS is around 400-500. Activating one rope drops it by 80-100. If all 6 are activated, FPS is around 70-120. 

For each rope/rod I tried reducing the maximum particle count in Obi solver, I lowered the resolution of the rope to a minimum, no luck. I tried deactivating every constraint one by one in the Obi solver but that barely improved performance. Only when either deactivating the Obi Solver component or the whole game object, the performance issue was gone.

Looking at the profiler the 2 main issues can be found in:
1) PlayerLoop -> FixedUpdate.ScriptRunBehaviourUpdate -> FixedBehaviourUpdate -> ObiSolver.FixedUpdate()  = 16.7%, calls 12
2) PlayerLoop -> PreLateUpdate.ScriptRunBehaviourLateUpate -> LateBehaviorUpdate -> ObiSolver.LateUpdate() = 14.7%, calls 6

So 31.4% out of 45.6% (everything else). The rest 53.4% is Editor Loop and 0.8% the profiler. Changing Update Mode of Obi Solver from FixedUpdate to LateUpdate does not improve the FPS. Disabling the ObiRopeExtrudedRenderer makes no difference, so rendering the rope is not a problem. 

Here is an image of one of the rods and its settings:
https://i.imgur.com/z5YOdkx.png

Every constraint in Obi Solver is activated with Interations set to 3 and Relaxation at 1. Everything except Distance, Stretch Shear and Bend Twist are parallel. The rest of the three are Sequential. Chain is disabled.


In the end what I am trying to achieve is something very similar to this:
https://www.reddit.com/r/Unity3D/comment...ng_a_data/

Would that be even possible with Obi Rope on Oculus Quest? Since I haven't found a configuration that works I am trying to use built in physics of Unity. However that has proven to be a pain as well (not performance wise though).

Any help is much appreciated!
Reply


Messages In This Thread
Performance issues - by Smurfj3 - 20-08-2019, 05:07 PM
RE: Performance issues - by josemendez - 20-08-2019, 05:46 PM
RE: Performance issues - by Smurfj3 - 20-08-2019, 06:53 PM
RE: Performance issues - by josemendez - 20-08-2019, 07:25 PM
RE: Performance issues - by Smurfj3 - 20-08-2019, 08:09 PM
RE: Performance issues - by josemendez - 21-08-2019, 04:28 PM
RE: Performance issues - by Smurfj3 - 22-08-2019, 08:59 PM
RE: Performance issues - by josemendez - 23-08-2019, 07:22 AM
RE: Performance issues - by Mancomb - 10-09-2019, 07:59 AM
RE: Performance issues - by josemendez - 10-09-2019, 08:36 AM
RE: Performance issues - by Smurfj3 - 22-10-2019, 04:09 AM
RE: Performance issues - by Smurfj3 - 01-11-2019, 06:28 PM
RE: Performance issues - by StudioTatsu - 03-11-2019, 10:24 PM
RE: Performance issues - by josemendez - 04-11-2019, 02:19 PM
RE: Performance issues - by Smurfj3 - 25-11-2019, 05:05 PM
RE: Performance issues - by Wattosan - 06-12-2019, 09:04 AM
RE: Performance issues - by josemendez - 09-12-2019, 12:22 AM
RE: Performance issues - by Wattosan - 09-12-2019, 12:53 PM
RE: Performance issues - by josemendez - 09-12-2019, 04:23 PM
RE: Performance issues - by Wattosan - 10-12-2019, 12:15 PM
RE: Performance issues - by josemendez - 10-12-2019, 12:28 PM
RE: Performance issues - by Wattosan - 10-12-2019, 01:16 PM
RE: Performance issues - by josemendez - 10-12-2019, 01:37 PM
RE: Performance issues - by Wattosan - 10-12-2019, 02:00 PM
RE: Performance issues - by josemendez - 10-12-2019, 02:42 PM
RE: Performance issues - by Wattosan - 10-12-2019, 03:43 PM
RE: Performance issues - by josemendez - 10-12-2019, 04:03 PM
RE: Performance issues - by Wattosan - 11-12-2019, 08:11 AM
RE: Performance issues - by BisuDagger - 10-12-2019, 05:25 PM
RE: Performance issues - by josemendez - 10-12-2019, 05:39 PM
RE: Performance issues - by BisuDagger - 10-12-2019, 05:47 PM
RE: Performance issues - by josemendez - 10-12-2019, 06:01 PM