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

Bug Export Bug: Adding transfroms to a list automatically.

Discussion in 'Windows' started by JamesXyXz, Sep 17, 2021.

  1. JamesXyXz

    JamesXyXz

    Joined:
    Aug 2, 2021
    Posts:
    12
    This script bellow for adding transfroms to a list automatically works correct when i test it in the Unity Editor, but the export doesn't. Sequence is mixed up. Why? It seems to be a bug. Any workarounds?
    BugBuilding01.jpg BugBuilding02.jpg
     
  2. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,644
    I don't think FindGameObjectsWithTag guarantees any particular order. If you depend on it, you need to sort them yourself.