Search Unity

  1. Unity 2019.4 has been released.
    Dismiss Notice
  2. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice
  3. Ever participated in one our Game Jams? Want pointers on your project? Our Evangelists will be available on Friday to give feedback. Come share your games with us!
    Dismiss Notice

Optimisation issues and stutters

Discussion in 'Scripting' started by DustyShinigami, May 15, 2019.

  1. DustyShinigami

    DustyShinigami

    Joined:
    Jan 5, 2018
    Posts:
    529
    This will probably involve more advanced coding to what I'm used to, but is there any way of reducing stutter and improving optimisation? I have a simple 2.5D platformer prototype in the works. The fact things are working correctly are the main concern, but I've noticed there's quite a bit of stutter going on whilst playing, especially when I touch a trigger in my scene. Even things like my parallax effect seems to be stuttering.
     
  2. Baste

    Baste

    Joined:
    Jan 24, 2013
    Posts:
    4,874
    Have you tried using the profiler?
     
    hippocoder likes this.
  3. DustyShinigami

    DustyShinigami

    Joined:
    Jan 5, 2018
    Posts:
    529
    The profiler?
     
  4. Baste

    Baste

    Joined:
    Jan 24, 2013
    Posts:
    4,874
    The profiler.

    You can probably also google to find some tutorials on good use. In essence, it shows you which parts of your code are taking a lot of time.
     
    hippocoder likes this.
  5. DustyShinigami

    DustyShinigami

    Joined:
    Jan 5, 2018
    Posts:
    529
    Okay, I'll look into it. Thanks.
     
    hippocoder likes this.
unityunity