Hi fellow developers, I’ve been here once before concerning constraints on my plane which has now been fixed however after the latest Roblox updates ive suddenly seen lag constantly appearing when the plane is in flight. It happens on most cases 20 seconds or so after takeoff. Im not using any remotes for the planes movability and have set network ownership of the planes main part and other parts apart from the constrainted ones, to the pilot. The scripts for moving the plane are local side and im just lost on why now its begun to lag. Any help is appreciated.
(This post is for my friend that isn’t apart of the DevForum. It’s for a project we’re working on.)
Also from the investigation, it seems that the issue is coming from objects that use pgs solver like the constraints. When I turn them off there are 0 contacts in the shift + f1 bar however with them on there is about 500 - 550 contacts that continue going up and down erratically between these intervals. Something in the update has messed these up.
Am having the same issue. In my game, players can build boats using blocks with all sorts of Roblox objects including constraints. Ever since the Roblox update, I’ve been getting complaints about boats that lag. I looked into it and these boats always have constraints built into them. I tested this out and found that any boat using constraints will lag. However, when I go back to the LegacyPhysicsSolver, the boat works just fine.
Any chance you guys are willing to PM me the models that were having issues? This was caused by a bug that was supposed to fix some sleeping issues, but it backfired and caused some perf regressions. I want to collect as many examples where it backfired as possible.