Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice
  3. Dismiss Notice

Question Physics broken after switching to URP or HDRP

Discussion in 'Physics' started by Bl4ckh34d, Jan 18, 2024.

  1. Bl4ckh34d

    Bl4ckh34d

    Joined:
    Apr 19, 2018
    Posts:
    47
    Not sure if this fits in here but when changing my project from built-in render pipeline to URP or HDRP all my physics is suddenly wonky, forces are stronger or weaker, etc.
    Since my game is mostly based on physics and less on cosmetics, this kind of sucks a lot.
    How can rendering affect physics? I can't wrap my head around this.
     
  2. iamarugin

    iamarugin

    Joined:
    Dec 17, 2014
    Posts:
    889
    Do you make all Physics calls only inside the FixedUpdate? If you do it anywhere in Update, frame rate could affect your physics. And HDRP/URP would definetely have different framerate than in built-in.
     
    Last edited: Jan 19, 2024
    CaseyHofland likes this.