Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

GUI transitions behaving differently on Editor, Mac, Windows

Discussion in 'Immediate Mode GUI (IMGUI)' started by perfect440, Dec 3, 2007.

  1. perfect440

    perfect440

    Joined:
    May 7, 2007
    Posts:
    5
    I made this menu system with transitions between them with the new GUI interface.

    The transitions are mostly fading in/out and wiping in/out. I do the first by slowly increasing and descreasing the GUI.color alpha.
    The second is done by moving a GUI group that contains all the elements.
    Both values are modified every frame by a fixed value * Time.deltaTime.

    The issue is, in the editor the transitions work at a speed, but when compiled to Web, they look different (move faster/slower, stutter). The difference is even bigger between the same compiled Web executable run from Mac and from Windows (both using Firefox). The Windows transitions look specially awful.

    Does this ring a bell to anyone? It's as if the deltaTime value is messed up. I use it a lot through the game, and everything else works as it should, just the GUI is problematic.

    Any input is welcome.

    Thanks!
     
  2. Aras

    Aras

    Unity Technologies

    Joined:
    Nov 7, 2005
    Posts:
    4,770
    Send a bug report with the project that clearly shows the issue perhaps?