how to increase speed of unity/allocate more ram?

i have a decent gaming laptop, but its becoming really slow during unity as i add more features to my game. any way to fix this?

Start with the manual:

And don’t forget the Script Optimization link on that page. :wink:

Optimization is a big topic, you won’t be speeding up your game by just following one simple piece of advice, unless this advice is “do less”. Why are you attaching rigidbodies do an object that is “massively” cloned. Just sounds like a bad solution.