Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. 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

Resolved REGRESSION: project view sorting is erratic in 2022.3.18

Discussion in 'Editor & General Support' started by laurentlavigne, Apr 3, 2024.

  1. laurentlavigne

    laurentlavigne

    Joined:
    Aug 16, 2012
    Posts:
    6,421
    It used to stick to one sorting method: if 2 assets had the same name, the prefix or maybe the type was use as tie-break.
    Now, it's random.
    upload_2024-4-2_18-26-36.png
     
  2. laurentlavigne

    laurentlavigne

    Joined:
    Aug 16, 2012
    Posts:
    6,421
  3. alexsmith123

    alexsmith123

    Unity Technologies

    Joined:
    Jan 11, 2022
    Posts:
    28
    Hi!
    Could you please expand on why you think the sorting is erratic? I looked into the ticket, but I did not see further description.
     
  4. laurentlavigne

    laurentlavigne

    Joined:
    Aug 16, 2012
    Posts:
    6,421
    next to the red arrows, assets with the same name are sorted differently than the rest
    same SO types
     
  5. alexsmith123

    alexsmith123

    Unity Technologies

    Joined:
    Jan 11, 2022
    Posts:
    28
    I can see the image, what I can't see is the difference. Maybe if you would share the filenames as well it would help.
    I also tried this out myself in a project, it seems like a simple alphabetical order. If the name is the same it continues with the extension.
     
    laurentlavigne likes this.
  6. laurentlavigne

    laurentlavigne

    Joined:
    Aug 16, 2012
    Posts:
    6,421
    here
     

    Attached Files:

    • FX.zip
      File size:
      161.9 KB
      Views:
      11
  7. alexsmith123

    alexsmith123

    Unity Technologies

    Joined:
    Jan 11, 2022
    Posts:
    28
    Yep, they are indeed in alphabetical order. This is expected behaviour, not random, not a bug.
     
  8. laurentlavigne

    laurentlavigne

    Joined:
    Aug 16, 2012
    Posts:
    6,421
    what is see is for matching prefix, extension is unsorted. def a regression.
     
  9. alexsmith123

    alexsmith123

    Unity Technologies

    Joined:
    Jan 11, 2022
    Posts:
    28
    Can you please give me an examle?
    From what I see it goes like: .asset, then .prefab for each name. The icons on your screenshot show that you are looking at the same thing.
    upload_2024-4-11_10-40-29.png
     
    laurentlavigne likes this.
  10. laurentlavigne

    laurentlavigne

    Joined:
    Aug 16, 2012
    Posts:
    6,421
    Yes you're right, you can close the associated case