Jump to content

HEAVY LAG when trying to place certain items down using the Geometric Placement mod


. . .
  • Fixed

I know it isn't you guys jobs to fix mods, but Geometric Placement is such a huge and important QoL mod that you can't really play the game without it so I hope you guys may look into seeing what went wrong with your updates which is causing it to suffer from heavy lag when you try deploying certain items down like boats, butterflies, ect. because before the new updates (or if you are not in the beta) it does not have this problem so it can't be a problem with the mod

(I think what the items that cause lag have in common is they are items which are deployable?)


Steps to Reproduce

Test on a caveless world? (idk if necessary, I just tested on world with no caves) 

Enable Geometric placement

Try to deploy something which is an item (boat and butterfly is what I noticed)

Get HUGE LAG which didn't happen before

  • Like 3



User Feedback


A developer has marked this issue as fixed. This means that the issue has been addressed in the current development build and will likely be in the next update.

Don't worry, it's not a Geometric Placement issue, it's a Klei issue.

Essentially, the game is deleting the deployable placer and then instantly spawning it again, which also gives the placer a visual shakiness when it's moving around, and causes the insane lag with geometric placement.

Hope to see this issue fixed soon :)

--PlayerController.lua

local placer_skin = placer_item.AnimState:GetSkinBuild() --hack that relies on the build name to match the linked skinname
if placer_skin == "" then
	placer_skin = nil --placer_skin becomes nil here.. (this is the new code in the patch)
end
if self.deployplacer ~= nil and (self.deployplacer.prefab ~= placer_name or (self.deployplacer.skinname or "") ~= placer_skin) then --"" is unequal to nil ! The check passes, so the deploy is cancelled
	self:CancelDeployPlacement()
end
if self.deployplacer == nil then --And then it instantly spawns again
	self.deployplacer = SpawnPrefab(placer_name, placer_skin, nil, self.inst.userid )

 

Edited by Hornete
  • Like 9
  • Thanks 2
  • Sanity 1

Share this comment


Link to comment
Share on other sites

7 hours ago, Hornete said:

Essentially, the game is deleting the deployable placer and then instantly spawning it again

Thanks for pointing this out and saving me a bunch of time.

  • Like 6

Share this comment


Link to comment
Share on other sites



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
  • Create New...