Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Performance issues
#10
(10-09-2019, 07:59 AM)Mancomb Wrote: I found myself here due to performance issues too (except obi solver was taking between 50-60fps off my fps per rope...). I imported into a new project and it seems fine though. The big difference between the projects is the one that is suffering is using the HD render pipeline. Testing the sample scenes in both projects sees about 100fps difference in play mode. 

I have no idea why this would be but just thought I would offer this piece of information in case it is helpful. As it stands I'll either need to choose between switching back to a different rendering pipeline (far from ideal) or not use Obi. Neither great options unfortunately since Obi seems really nice.

I'm 99.99% positive the culprit is not the rendering pipeline. Take a look at your profiler (regular profiling, not deep profile), see how many times is FixedUpdate() being called per frame. It should be just once or twice. More calls per frame means you've found the cause.

Chances are your project is heavy on other areas besides physics, or has different Time settings, leaving little time per frame for simulation and causing it to plummet into the "well of despair" or "death spiral" (If you don't know what I'm talking about, read up on it as it is fixed-timestep 101). Take a look at your Time settings in Unity's time manager. These settings are critical for physics. Start with a fixed timestep of 0.02 and a max fixed timestep of 0.04, then work from there.

This is just a wild guess, but i've seen so many projects struggling due to death spiraling (usually a trivial fix) that I almost always point people in that direction when they complain about performance.
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