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 AssetBundle allows UpperCase on Linux, not on Windows

Discussion in 'Linux' started by Cygon4, Jul 24, 2017.

  1. Cygon4

    Cygon4

    Joined:
    Sep 17, 2012
    Posts:
    382
    I have assigned some assets in my project to asset bundles on Linux. Because there was no indication otherwise, I use mixed-case names.

    When I opened the project on Windows, all my asset bundles got duplicate, lowercase versions.

    Whenever I click on an asset in Windows, it displays the lowercase name.

    Yet, if in Windows I enter "b:bundlename" in the Project panel, it displays nothing. If I enter "b:BundleName" in the Project panel, it displays the assets assigned to the bundle.

    Even after going back to Linux, I still have the duplicated asset bundles and I need to go over all assets one by one, reassign them to the mixed case bundle and then use "Remove Unused Names" to get rid of the duplicates again.

    Please give the asset bundle code a short review regarding upper/lowercase handling.
     
  2. Tak

    Tak

    Joined:
    Mar 8, 2010
    Posts:
    1,001
    Coïncidentally, I've just fixed this based on some internal test failures - should land in an upcoming build.