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. Join us on March 30, 2023, between 5 am & 1 pm EST, in the Performance Profiling Dev Blitz Day 2023 - Q&A forum and Discord where you can connect with our teams behind the Memory and CPU Profilers.
    Dismiss Notice

Bug Unity 2021.3.4f1 copy only world position but paste all transform

Discussion in 'Editor & General Support' started by eliteforcevn, Jun 10, 2022.

  1. eliteforcevn

    eliteforcevn

    Joined:
    Oct 25, 2018
    Posts:
    47
    I think I have met a problem with the editor
    i copy only world position but after paste the world position it apply all copy transform

     
    spider853 likes this.
  2. CodeSmile

    CodeSmile

    Joined:
    Apr 10, 2014
    Posts:
    2,107
    I can‘t see anything unusual. After paste the rotation isn‘t pasted. But the object you paste onto has children, I didn‘t catch if anything or what happens to them.
     
  3. eliteforcevn

    eliteforcevn

    Joined:
    Oct 25, 2018
    Posts:
    47
    i just copy the position but when i paste it including the scale and rotation
     
  4. CodeSmile

    CodeSmile

    Joined:
    Apr 10, 2014
    Posts:
    2,107
    I only see scale.y changing to 0.1 but not rotation, initially i was focusing only on rotation which didn't change:
    upload_2022-6-10_13-46-16.png

    Did you check if the AI_Grey parents have a scale.y that isn't 1?
    Is the behaviour different if you copy the entire transform values and paste them?
     
  5. eliteforcevn

    eliteforcevn

    Joined:
    Oct 25, 2018
    Posts:
    47
    yes because in the video no rotation (0,0,0) in world transform :3 and it's parent scale is (1,1,1)

    the problem here is i only copy position why both rotation and scale are copied and pasted
     
  6. AcidArrow

    AcidArrow

    Joined:
    May 20, 2010
    Posts:
    9,852
    Seems like a bug.
     
    spider853 likes this.
  7. eliteforcevn

    eliteforcevn

    Joined:
    Oct 25, 2018
    Posts:
    47
    another video
     
  8. spider853

    spider853

    Joined:
    Feb 16, 2018
    Posts:
    24
    Same issue in 2021.3.16f ... annoying

    Action: Copy an object position (World), go to another object that might be a child of scaled object, paste position world.

    Expected: Only position will be set to match the copied world position

    What actually happens: All transforms are affected (at least including scale)...

    Please fix
     
  9. OneManEscapePlan

    OneManEscapePlan

    Joined:
    Oct 14, 2015
    Posts:
    172
    This feature should be labelled "Copy Pose (World)", not "Copy Position (World)". There should also be separate functions for copying world position and rotation separately. I've submitted a bug report.