Search Unity

Slider On Value Changed broken in OSX

Discussion in 'UGUI & TextMesh Pro' started by neilmendoza, Sep 17, 2019.

  1. neilmendoza

    neilmendoza

    Joined:
    Jul 7, 2019
    Posts:
    16
    If I make a simple scene with a slider and an object with a float callback, when I try and assign the callback in the slider inspector, there is no section for "Static Parameters" and "Dynamic float" so no way to get the value. I tried it on Linux and it works fine. Hacky workaround is to pass the slider itself rather than the value.

     
  2. anatolyV

    anatolyV

    Joined:
    Nov 29, 2014
    Posts:
    63
    Same issue on 2019.2.6f1. You should post a report to the bug tracker since you already have a sample scene.

    Also, an easier workaround should be to switch to the Debug view of the Inspector and assign it there, while setting the Mode to "Event Defined", like so:

     
  3. deltamaze

    deltamaze

    Joined:
    Jul 28, 2017
    Posts:
    1
    Had a similar issue with an Input Field, On Value Changed. aVolnov's suggestion worked for me!
     
  4. thedrhax14

    thedrhax14

    Joined:
    Aug 7, 2014
    Posts:
    38
    @aVolnov solution worked, but now I started getting fps drop whenever Inputfields are active

    It may somehow be related to the same problem