Search Unity

Question semaphore.waitforsignal perfromance Issues

Discussion in 'Editor Workflows' started by pierrecruse3, Feb 13, 2024.

  1. pierrecruse3

    pierrecruse3

    Joined:
    Feb 13, 2024
    Posts:
    2
    Im having an issue with my unity 2d game. Semaphore.waitforsignal is talking 8-10ms and i have no clue why, i have a single triangle, no urp and its getting 120fps (i have a 4050 laptop GPU XPS 15 9530).
    I opened a completely new project without URP and it is sitll an issue, i have tired turning vsync off and it did nothing. Here are some images with nothing in the scene and camera disabled
    upload_2024-2-13_8-35-54.png
    upload_2024-2-13_8-36-17.png upload_2024-2-13_8-36-37.png upload_2024-2-13_8-36-54.png
     
  2. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    5,063
    In general this means the CPU waits for the GPU.
    Often this is a GPU bottleneck or Vsync. Seeing your framerates being stable I am guessing this is a vsync issue. Laptops can force vsync in the nvidia control panel or GeForce experience.
    Also try in a build
     
  3. pierrecruse3

    pierrecruse3

    Joined:
    Feb 13, 2024
    Posts:
    2
    it was nvidia Vsync. Thanks !!!!
     
    DevDunk likes this.