Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Rect Transform float problem

Discussion in 'UGUI & TextMesh Pro' started by Shushustorm, Sep 6, 2015.

  1. Shushustorm

    Shushustorm

    Joined:
    Jan 6, 2014
    Posts:
    1,084
    Hello everyone!
    Do you know what is causing this problem? Since one of the last updates I made (currently using version 5.0.1p2), the UI gets some weird values even though I enter something like 1 to Pos X, it will go to 0.99999 or 1.00001 or something similar. (see screenshots for reference)
    The only way I found around this (which is very awkward to work with, but at least it does the trick): Delete the wrong number again, set in another number, delete the other number and then set in the number you actually want.
    It would be nice to have a better solution, though.

    Greetings,
    Shu
     

    Attached Files:

    aklgupta and lermy3d like this.