Game works great in editor, but lags in packaged and launched versions

Hello, everybody.
Our game works perfectly smooth and fine in the editor, but after packaging, it lags so much that physics break down in the best case, and the game is unplayable in the worst case. We tried looking at answers to other similar problems, but nothing seems to fix it.
Any ideas?
Thanks

It seems to run much smoother if I package it as 32-bit(I use a 64-bit system), yet it is not perfect and there is still an object that goes through walls.
Here is the bp:

Thanks

Turning on the CCD option in that object’s collision seems to stop this bp from going through walls. Yet the lag has not completely disappeared, so we still need help in that. Thanks

Turning on the CCD option in that object’s collision seems to stop this bp from going through walls. Yet the lag has not completely disappeared, so we still need help in that. Thanks