Search Unity

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:
    6,334
    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:
    6,334
    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.