Search Unity

Bug Maximize On Play breaks isGrounded

Discussion in 'Editor & General Support' started by NotLunch, Jul 26, 2022.

  1. NotLunch

    NotLunch

    Joined:
    Oct 12, 2021
    Posts:
    30
    Hi, I'm kind of new to unity. So, in my fps game I use a Character Controller for my character. Everything works just fine but when I turn on the Maximize on Play button, is Grounded is always off and every couple of seconds, it's on for like half a second. For some reason when I turn on Sync it fixes itself, I call of this code in the Update Function. So, I'm guessing it has something to do with updating. When I used Fixed update everything broke, and LateUpdate did nothing.
     
  2. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    38,689
    Last edited: Jul 26, 2022
    NotLunch likes this.
  3. NotLunch

    NotLunch

    Joined:
    Oct 12, 2021
    Posts:
    30
    Thanks for the help!