Search Unity

Rainbow Folders - Custom folder icons in the project browser? Easy!

Discussion in 'Assets and Asset Store' started by PhannGor, Jun 18, 2016.

  1. schmosef

    schmosef

    Joined:
    Mar 6, 2012
    Posts:
    838
    Thanks, I'll try again and will send you an email with a screen recording, if it's still happening.
     
    PhannGor likes this.
  2. Peacewise

    Peacewise

    Joined:
    Feb 27, 2014
    Posts:
    52
    Hi PhannGor, thank you for a great asset!

    I want to confirm the issue that Thygrr has (offset folder icons when integrating Unity with source control) is happening to me as well, on a non-beta build. I've been running LTS builds, and am currently on 2019.4.21f1.

    upload_2021-3-12_20-48-34.png

    I am also seeing an issue where folder icons remain at their minimum size, even when using the resizing slider:

    upload_2021-3-12_20-50-38.png

    The icons will fix themselves once you click anywhere in the area there, then they all pop to their normal size (which is still slightly smaller than normal folders).
     
  3. schmosef

    schmosef

    Joined:
    Mar 6, 2012
    Posts:
    838
    I just tried again with Unity 2020.3.0f1. Given your comments, I suspected that my issue might have been caused by the Unity Package Manager, importing an old version of the asset. I cleared the local asset cache and redownloaded the asset.

    That seems to have fixed my problem. Sorry for not figuring that out before getting you involved.
     
    PhannGor likes this.
  4. ProtagonistKun

    ProtagonistKun

    Joined:
    Nov 26, 2015
    Posts:
    317
    Thank you for that, I got it all working the way I wanted it to! :)
    upload_2021-3-16_13-39-31.png
     
    PhannGor likes this.
  5. PaulDyatlov

    PaulDyatlov

    Joined:
    Jul 6, 2019
    Posts:
    14
    Not working in 2021, causing errors in the Project window drawing process.
     

    Attached Files:

  6. PhannGor

    PhannGor

    Joined:
    Feb 5, 2015
    Posts:
    188
    Please update your version of the Rainbow Folders from the Asset Store. The latest release contains compatibility fixes for Unity 2021+
     
    fulgorr likes this.
  7. fulgorr

    fulgorr

    Joined:
    Sep 24, 2017
    Posts:
    2
    Same for me...The asset is not working on version 2021.1.0f1. Cant click my Assets folder at all. Sometimes it shows folders but without textures, but usually does not show anything :(

    Console shows this:
    upload_2021-3-24_16-23-29.png
     
  8. PhannGor

    PhannGor

    Joined:
    Feb 5, 2015
    Posts:
    188
    Did you tried to update your version of the Rainbow Folders from the Asset Store? As I said before, the latest release contains compatibility fixes for Unity 2021+. But you need to go to the Package Manager and manually update and reimport the Rainbow Folders asset after upgrading your editor to v2021+
     
    schmosef and fulgorr like this.
  9. fulgorr

    fulgorr

    Joined:
    Sep 24, 2017
    Posts:
    2
    Ou sry didn't notice it..Yeah, it helped.. thanks :)
     
    PhannGor likes this.
  10. Magnesium

    Magnesium

    Joined:
    Sep 14, 2014
    Posts:
    130
    Hello, i upgraded to Unity 2021 and Rainbow Folders wasn't working any more. So i upgraded it, but later on i realized i was having too much issues with 2021 so went back to 2020, but now i get errors with the plugin.

    NullReferenceException: Object reference not set to an instance of an object
    Borodar.RainbowFolders.ProjectWindowAdapter..cctor () (at <fc40e65a88544a9da0ab4a60cedba294>:0)
    Rethrow as TypeInitializationException: The type initializer for 'Borodar.RainbowFolders.ProjectWindowAdapter' threw an exception.
    Borodar.RainbowFolders.RainbowFoldersGUI..cctor () (at <fc40e65a88544a9da0ab4a60cedba294>:0)
    Rethrow as TypeInitializationException: The type initializer for 'Borodar.RainbowFolders.RainbowFoldersGUI' threw an exception.
    UnityEditor.EditorApplication.Internal_CallUpdateFunctions () (at <0c3742f371b24679bcaa6fcc508d0cca>:0)
     
  11. schmosef

    schmosef

    Joined:
    Mar 6, 2012
    Posts:
    838
    You have to re-download Rainbow Folders with the version of Unity you intend to use. The version of Rainbow Folders you download with Unity 2021 is specific to that version of Unity.
     
    PhannGor likes this.
  12. Magnesium

    Magnesium

    Joined:
    Sep 14, 2014
    Posts:
    130
    Thanks, i had to revert to an previous commit and it fixed it anyway.
     
    schmosef and PhannGor like this.
  13. Goty-Metal

    Goty-Metal

    Joined:
    Apr 4, 2020
    Posts:
    168
    Hi there! just purchased the software and looks pretty good and easy to use, just 1 thing i'm trying to do but not sure if possible, can i make folders inherit just the background color? for example:
    Art folder = icon x, background red
    - Sprites subfolder = no icon, inherit red background from Art folder
    - Animations subfolder = animations icon, inherit red background from Art folder...

    If i mark the "recursive" background in the main folder (Art) it overrides background color but also removes the subfolder icon, i want to keep it's icon but inherit the background color.

    Thanks!
     
    mattewood likes this.
  14. banksysan_unity

    banksysan_unity

    Joined:
    Feb 4, 2020
    Posts:
    12
    Rainbow folders is failing on Unity 2020 causing the project window to be unusable.

    upload_2021-4-24_18-11-39.png

    Unity

    Version: 2020.3.5f1.264 Personal[/CENTER][/LEFT]
    Revision: 2020.3/staging 8095aa901b9b
    Built: Fri, 09 Apr 2021 08:53:53 GMT


    Rainbow Folders

    2.3.0
     

    Attached Files:

  15. Goty-Metal

    Goty-Metal

    Joined:
    Apr 4, 2020
    Posts:
    168
    Weird, i have 2020.3.5f1 with latest rainbow foders 2 and all is working fine :)
     
    schmosef likes this.
  16. banksysan_unity

    banksysan_unity

    Joined:
    Feb 4, 2020
    Posts:
    12
    Totally borked for me :(. I've tried doing deleting the library and reimporting etc.
     
  17. Goty-Metal

    Goty-Metal

    Joined:
    Apr 4, 2020
    Posts:
    168
    Weird, you should uninstall and manually remove any folders and .meta files, restarting Unity and trying to download again from the package manager.
     
  18. schmosef

    schmosef

    Joined:
    Mar 6, 2012
    Posts:
    838
    I was able to resolve my problems with Rainbow Folders and Unity 2021 by re-downloading the asset using the Unity 2021 package manager.

    I just had to delete the previously downloaded copy of the asset from "C:\Users\[username]\AppData\Roaming\Unity\Asset Store-5.x\Borodar\Editor ExtensionsSystem".
     
    Goty-Metal likes this.
  19. Gigacee

    Gigacee

    Joined:
    Mar 4, 2015
    Posts:
    39
    Hi, I installed Rainbow Folders v2.3.0 into my project on Unity 2019.4.26f1 and the error occuered as follows:

    Code (CSharp):
    1. Assembly 'Assets/Plugins/RainbowAssets/RainbowFolders/Editor/Assemblies/RainbowFolders.dll' will not be loaded due to errors:
    2. Unable to resolve reference 'UnityEditor.CoreModule'. Is the assembly missing or incompatible with the current platform?
    3. Reference validation can be disabled in the Plugin Inspector.
     
  20. Bezoro

    Bezoro

    Joined:
    Mar 16, 2015
    Posts:
    68
    For whatever reason in the package manager Rainbow Folders 2 always shows up as having an update available.
    Even deleting the cache and redownloading it from scratch makes no difference. Been happening for a couple versions.
    It does seem to download the latest version fine though, it just thinks that there is always an update available.
    Not sure if this is a package manager bug or not but thought I'd mention it here.
     
    PhannGor likes this.
  21. PhannGor

    PhannGor

    Joined:
    Feb 5, 2015
    Posts:
    188
    Noticed the same thing on older Unity versions. If there is an update for newer Editor version than you're using then it shows that annoying "update available" notification. Seems like a package manager bug.
     
  22. Setmaster

    Setmaster

    Joined:
    Sep 2, 2013
    Posts:
    205
    I'm on a 3840 x 1600 monitor and the icons don't get big enough, how do I adjust that?


    I'm on Unity 2021.1.2f1, Rainbow Folders 2.3.0
     
    BagarraoEduardo likes this.
  23. CodePoKE

    CodePoKE

    Joined:
    May 6, 2015
    Posts:
    15
    I just updated Rainbow Folders coming from a very old project (Unity 5.5) and notice that it's no longer possible to set the color of a folder as well as an icon?
    Will this be supported again?
     
  24. BagarraoEduardo

    BagarraoEduardo

    Joined:
    Sep 20, 2017
    Posts:
    8
    Hi! I would like to knowHi! I would like to know what should I add to .gitignore in the folder of Rainbow Folders 2, and just keep my project setup.

    Thank you!
     
  25. PhannGor

    PhannGor

    Joined:
    Feb 5, 2015
    Posts:
    188
    It depends of what you want to achieve. If you want just to exclude the Rainbow Folders from your git repo, then you could exclude whole RainbowAssets folder.

    Code (CSharp):
    1. /Assets/Plugins/RainbowAssets/
    2. /Assets/Plugins/RainbowAssets.meta
    Personally, I have a special folder for all the assets I don't want to have in a git repo and share with teammates:

    upload_2021-7-2_13-25-23.png

    And I'm just installing all those assets into that folder in my projects.
     
    BagarraoEduardo likes this.
  26. BagarraoEduardo

    BagarraoEduardo

    Joined:
    Sep 20, 2017
    Posts:
    8
    Thank you for thr advioe

    Thank you! My main goal is to have only the configurations in the repo and ignore the plugin folder!
     
  27. PhannGor

    PhannGor

    Joined:
    Feb 5, 2015
    Posts:
    188
    @BagarraoEduardo

    Then you need to include /Assets/Plugins/RainbowAssets/RainbowFolders/Editor/Data/RainbowFoldersRuleset.asset into your git repo.

    Since git doesn't list excluded directories for performance reasons and we cannot negate those rules only for one file, your .gitignore should be changed to something like that:

    Code (CSharp):
    1.  
    2. /Assets/Plugins/RainbowAssets/!Core/
    3. /Assets/Plugins/RainbowAssets/RainbowFolders/Demo/
    4. /Assets/Plugins/RainbowAssets/RainbowFolders/Editor/Assemblies/
    5.  
     
    BagarraoEduardo likes this.
  28. BagarraoEduardo

    BagarraoEduardo

    Joined:
    Sep 20, 2017
    Posts:
    8
    Solved! Thank you so much for the help! :)
     
  29. Anikki

    Anikki

    Joined:
    Dec 23, 2012
    Posts:
    4
    Update from 2020.3.13f1 to 14f1 breaks Rainbow Folders 2 version 2.30. Remove/Reinstall doesn't fix it.

    rainbow.png
     
  30. PhannGor

    PhannGor

    Joined:
    Feb 5, 2015
    Posts:
    188
    Hi @Anikki,

    Could you please provide more details? Just tested on both v2020.3.13f1 and v2020.3.14f1 and all seems to be working fine for me... I got one similar report from another customer but cannot reproduce it as well. Would appreciate your help to collect all the info regarding that error to be able to find the exact cause. Thank you!
     
  31. bjolet

    bjolet

    Joined:
    Jul 16, 2020
    Posts:
    4
    Hello @PhannGor,
    I'm having trouble on 2020.3.14f1.

    upload_2021-7-26_20-32-43.png

    upload_2021-7-26_20-31-0.png

    What would you like me to check for you?
     
  32. PhannGor

    PhannGor

    Joined:
    Feb 5, 2015
    Posts:
    188
    @Anikki, @bjolet,

    There is a possible bug with the asset store cache. For some reason, Unity could try to import an outdated version of the asset at some circumstances. Could you please:

    1. Find the Asset Store cache folder on your machine.
      For Windows it should be something like:
      User\AppData\Roaming\Unity\ Asset Store-5.х\Borodar\Editor Extensions\System
      For Mac OS:
      User\Library\Unity\Asset Store-5.х\Borodar\Editor Extensions\System
    2. Then delete all the packages in that folder
    3. Open Unity v2020.3.14f1
    4. Delete Plugins\RainbowAssets
    5. Reimport the Rainbow Folders from the Asset Store again. At this point, Unity should download the correct version of the asset.

    Please let me know if that helps. Thank you!
     
  33. bjolet

    bjolet

    Joined:
    Jul 16, 2020
    Posts:
    4
    @PhannGor

    That did the trick!
    Thank you for your quick help!

    upload_2021-7-27_22-36-42.png
     
  34. KapitanKazub

    KapitanKazub

    Joined:
    Sep 29, 2016
    Posts:
    4
    I'm facing the same issue, can't get Rainbow Folders to work on new projects. I'm using Unity 2020.1.14f1. Any help?
     
  35. PhannGor

    PhannGor

    Joined:
    Feb 5, 2015
    Posts:
    188
    @KapitanKazub

    Well, I guess you could try same solution if you have same issue:

     
  36. KapitanKazub

    KapitanKazub

    Joined:
    Sep 29, 2016
    Posts:
    4
    PhannGor likes this.
  37. Gladyon

    Gladyon

    Joined:
    Sep 10, 2015
    Posts:
    334
    Hi,

    Thank you for this tool, it might help me to find my way in my own project which has grown a bit too much lately...


    I had a small problem during install
    when you remove the DLLs and use the sources instead, there is a cryptic message about the path not set correctly.
    In fact the path was perfectly correct (default), the problem was coming from the 'RainbowFoldersRuleset' scriptableObject which had a broken reference.
    When fixed, it works perfectly fine.
    Maybe it could be added to the manual.

    Also, it seems that this asset has been designed with the 2 columns view.
    When in one column only, if you have tons of files in a folder, then you will not see clearly in what color the folder is, you can even see only files, in which case it will not help at all.
    I think that the files should also have their background colored (not the icon, because each file type has its own standard icon).
    Here is an example, vanilla, with the file colored:
    Rainbow standard.png Rainbow modified.png

    Of course it could be a toggle-able option.
     
  38. Gamingbir

    Gamingbir

    Joined:
    Apr 1, 2014
    Posts:
    173
    Whenever I install this extension for some reason it deletes everything in my asset folder. Can't use it atm
     
  39. ProtagonistKun

    ProtagonistKun

    Joined:
    Nov 26, 2015
    Posts:
    317
    Make sure you have the latest version, I had this issue a while back but after reimporting it it seemed fine (assumng you updated your editor version to 2021, still seems to work on 2020 for me)
     
unityunity