Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice
  2. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  3. 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

Bug R(x,y) random distribution not working in multi-select inspector

Discussion in '2023.2 Beta' started by Prodigga, Nov 10, 2023.

  1. Prodigga

    Prodigga

    Joined:
    Apr 13, 2011
    Posts:
    1,125
    All objects receive the same single value, instead of a random value per object.

    ie: I select 10 game objects, in the transform inspector I put R(-10,10) as the Pos.X Value.

    Expected: All gameobjects get distributed randomly between -10, 10 on the X axis
    Actual: All gameobjects receive the same (random) value between -10 and 10