Yup! the left and right panning of the camera is what I meant. For the physics objects, maybe you could also try to destroy them a few seconds after they are no longer visible by the camera, or based on distance. But it is on the right track :D
Viewing post in Monke's Cycling Adventure: Rescue Of Rat jam comments
Gotcha. I do Destroy() the objects using an invisible wall behind the player. But both Instantiate() (spawning function) and Destroy() itself has some performance costs. It’s better to use object pooling in this case… so we reuse same oranges again n again. I’m just not experienced enough using object pooling, so I didn’t end up using it. 😂