I just finished https://youtu.be/r5NWZoTSjWs and unity is lagging whenever i try to move my cube. How come?
We are and never will be magicians we can’t smell what’s happening on your pc.
Usually the biggest reason for lag is that your pc is not good, what are your pc specs?
It could however also be the performance of the game use the profiler to see what’s using a lot of resources.
use unity profiler to check where the Game is actually lagging.
use this link to know more about profiler.