Accessing The File Explorer 2021 - (Works in Editor & Build)

Поділитися
Вставка
  • Опубліковано 15 вер 2024
  • How to access the file explorer in Unity 2D. This works in the editor as well as on build.'
    ▶Link To GitHub Repo - github.com/The...
    ▶ How to get DISPLAY TEXT FROM TEXT MESH PRO Tutorial -
    www.youtube.co....
    ▶ How To Change Color Of A Image Background -
    www.youtube.co....
    ▶ How To Use A Check Box / Toggles & Display Error Messages -
    www.youtube.co....
    ▶ Link To Srejon Khan - / @electronicbrain

КОМЕНТАРІ • 145

  • @theultimatedeveloper4736
    @theultimatedeveloper4736  3 роки тому +9

    Hey guys, I hope everyone enjoyed this video & it helped you in some way. You can download the files to get started here - github.com/The-Ultimate-Devel...

    • @ziphomfeka9208
      @ziphomfeka9208 3 роки тому +1

      Can you make one for android

    • @gmasterji3980
      @gmasterji3980 2 роки тому

      This is not working in android Please help me sir!!
      I need to do the same for android
      Please sir !!

    • @racczs2336
      @racczs2336 2 роки тому +2

      this link no longer works

    • @Taki7o7
      @Taki7o7 2 роки тому +2

      The package includes broken references

    • @elusuarioperpetuo
      @elusuarioperpetuo Рік тому

      @@ziphomfeka9208
      you did?

  • @CedGames
    @CedGames 3 роки тому +2

    is there a way to remove the image compression, when loading it in?

  • @alisaabary5224
    @alisaabary5224 Рік тому +2

    is it possible to upload multiple images to multiple sprites at the same time?

  • @craigmutsiwawo2942
    @craigmutsiwawo2942 3 роки тому +9

    Great. I'm developing for android, how can i make this work on mobile builds

    • @SpriteTheDude
      @SpriteTheDude 2 роки тому +1

      did you find the answer for your question? i'm also building for android

    • @prasangaphuyal183
      @prasangaphuyal183 2 роки тому +1

      Same dir you guys

    • @goku0497
      @goku0497 2 роки тому

      X3

    • @tetsuya2466
      @tetsuya2466 2 роки тому

      I'm also working on this, would be nice to have a help on the mater

    • @s.i.m.o
      @s.i.m.o Рік тому

      I'd be the sixth person who would need this for android

  • @benrajsd2199
    @benrajsd2199 Рік тому +2

    The type or namespace name 'AnotherFileBrowser' could not be found (are you missing a using directive or an assembly reference?)
    With the package shared, any idea?

    • @rogerpsi
      @rogerpsi Рік тому

      Did you solve it? I'm having the same issue.

    • @codequest194
      @codequest194 Рік тому

      Because your pc buildsetting on android change to window

  • @codequest194
    @codequest194 Рік тому +1

    yes its worked but i have a problen. I want this project for android but its give me the error . I am trying to convert this project on android but nothing happen can you do this.

  • @MYDREAMCARS
    @MYDREAMCARS 2 місяці тому

    Can I also open mp4 video files with this method??

  • @TheUncutAngel
    @TheUncutAngel Рік тому

    Assets\FileBrowserUpdate.cs(2,7): error CS0246: The type or namespace name 'AnotherFileBrowser' could not be found (are you missing a using directive or an assembly reference?)
    immediately got this exception the moment i installed the package. I see the using ref at the top, but its underlined red, meaning unity doesn't know what it is. using v 2021.3.15

  • @gmasterji3980
    @gmasterji3980 2 роки тому +2

    You are Amazing man , this tutorial is awesome 😄😄

  • @Zzz-cm5kw
    @Zzz-cm5kw Рік тому +2

    Amazing tutorial as always! Quick question, how would you tranfer these new raw images to another scene? Like if we want it to be a player profile image etc?
    Thank you!

    • @jreffjeff7909
      @jreffjeff7909 Рік тому

      Save it in some static variable that persists through scenes with don't destroy on load

  • @joheeyeom8083
    @joheeyeom8083 5 місяців тому

    Hi! Thank you for the tutorial. I am on mac, and it keeps giving me this error: Assets/FileBrowserUpdate.cs(2,7): error CS0246: The type or namespace name 'AnotherFileBrowser' could not be found (are you missing a using directive or an assembly reference?) Could you please let me know how to fix this? Thank you!

  • @dumbdubfox5224
    @dumbdubfox5224 Рік тому

    Велика тобі дяка. Ти мені дуже допоміг

  • @NavaNoidGMD
    @NavaNoidGMD Рік тому

    you are a LIFE SAVER
    Thank you SO MUCH YOU HAVE NO IDEA!

  • @_e8a
    @_e8a 8 місяців тому

    is there any way to select multiple images in the browser, and add all of these images to a list?

  • @nicolaiklg181
    @nicolaiklg181 2 роки тому +1

    What if i want to locate a directory/path in stead of a file?

    • @diystrailers7227
      @diystrailers7227 Рік тому

      Use VistaFolderBrowserDialog in FileBrowser instead of VistaOpenFileDialog

  • @NoodleAM
    @NoodleAM Рік тому

    How can I save the path in a playerPrefs so when I open the game the image still in there?

  • @mmazuk1958
    @mmazuk1958 Рік тому +1

    Thank you men, its working!

    • @StickyLabDev
      @StickyLabDev Рік тому

      help Assets\FileBrowserUpdate.cs(8,7): error CS0246: The type or namespace name 'AnotherFileBrowser' could not be found (are you missing a using directive or an assembly reference?)

    • @chakanshu
      @chakanshu 7 місяців тому

      @@StickyLabDev import the files in the link

  • @theAAGfilms
    @theAAGfilms Рік тому +1

    Hey I realize it's been two years, but I had a quick question:
    I can filter the file types down to one type (ie. like just a .jpg). However, the moment I put in a second file type (*.jpg, *.png), it doesn't load any files at all as if it can't correctly read that string. Do you have any idea why that might be?

    • @_purplewinter_
      @_purplewinter_ Рік тому

      In the line:
      bp.filter = "Image files (*.jpg, *.jpeg, *.jpe, *.jfif, *.png) | *.jpg; *.jpeg; *.jpe; *.jfif; *.png";
      remove (*.jpg, *.jpeg, *.jpe, *.jfif, *.png)
      so the new line will be:
      bp.filter = "Image files | *.jpg; *.jpeg; *.jpe; *.jfif; *.png";

    • @chakanshu
      @chakanshu 7 місяців тому

      use the semicolon not comma

  • @Marci599
    @Marci599 3 роки тому +2

    Hi! There was error at 9:24, but it disappeared after a cut. What you did there, I have the same error.

    • @Marci599
      @Marci599 3 роки тому

      i see

    • @YourMom-vz2qx
      @YourMom-vz2qx 2 роки тому

      @@Marci599 What happed there? I seem to have error there.

    • @Marci599
      @Marci599 2 роки тому +6

      He wrote IEnumerable there first, but then he replaced it with IEnumerator

  • @creymartstudios5570
    @creymartstudios5570 3 роки тому +5

    does this also work on mobile?

  • @acturus16
    @acturus16 Рік тому +2

    Great stuff!! One question, is It the same coding and process for building a phone app?? Thnks

    • @djapstar
      @djapstar Рік тому +1

      Did you check it out?

  • @ytczech2746
    @ytczech2746 Рік тому

    What can I do if I cant import the anotherfilebrowser?

  • @accountbuy5979
    @accountbuy5979 2 місяці тому

    If I make a game on phone?

  • @ashishrana2778
    @ashishrana2778 Рік тому

    Will is work for uwp platform??
    As i am getting a build error while taking a build

  • @ferdinandkasangati5089
    @ferdinandkasangati5089 2 роки тому

    just discovered your channel, really awesome

  • @AnthonyMagdelaine
    @AnthonyMagdelaine 3 роки тому

    could you explain how to make the same but for video player ?

  • @Mystikael
    @Mystikael Рік тому

    I used your tutorial and everything was fine and then I came back to my project later and it had converted to your project in this video with the purple background. I lost a lot of work. Do you know why this happened? All I did was install the package and make the script like you did.

  • @Robert-mj3nx
    @Robert-mj3nx Рік тому

    This contains system.windows.form, will this compile to android?

  • @jesalonboard
    @jesalonboard 2 роки тому +3

    Dude please post video for android File Explorer 🙏🏻

  • @jesalonboard
    @jesalonboard 2 роки тому

    It's throwing me error though I have already defined namespace in the script. "The Type or namespace 'AnotherFileBrowser' could not be found (Are you missing a using Directive or an assembly reference)".

  • @jesalonboard
    @jesalonboard 2 роки тому

    I want to show videos from file explorer so will it work? Also I want to make this work for android. Please help someone.

  • @seanisaacdelapena3533
    @seanisaacdelapena3533 3 роки тому

    What do I do if I want to display the image chosen in a different scene done the button?

    • @bluedev6304
      @bluedev6304 3 роки тому

      you can create a static texture variable and store the image in that variable and after the other scene is loaded you can change the texture of the rawimage

  • @coolkidllama1483
    @coolkidllama1483 2 місяці тому

    can you make a video on how to make it all myself??

  • @akshayrajput2488
    @akshayrajput2488 3 роки тому +1

    how do I change the code to get a .txt or .csv file from the files

    • @diegodiego972
      @diegodiego972 3 роки тому +1

      I also want the code to get a .csv file, did you manage to get the code working for .csv files?

    • @Crimtaku
      @Crimtaku 2 роки тому

      @@diegodiego972 I know this is quite old but answering in the case you haven't found the answer yet or someone else is looking into it too. My approach would be to first create a function that can do whatever you need to with string path of the file. Then changing the code shown in the video into following should allow you to call that function with the string path of the file you choose. Just substitute the "AssetBundleFromLocal(path)" with whatever function call you happen to need.
      public void OpenFileBrowser()
      {
      var bp = new BrowserProperties();
      new FileBrowser().OpenFileBrowser(bp, path=> {
      AssetBundleFromLocal(path);
      });
      }

  • @josemodz4713
    @josemodz4713 3 роки тому

    It doesn´t works for me on build, even if it is .NET 4x

  • @vanyoknormalyok5300
    @vanyoknormalyok5300 2 роки тому +1

    how do I copy a text file? Instead of an image

  • @SamuelMartins-dx1ve
    @SamuelMartins-dx1ve 3 роки тому +3

    Does it work with android?

    • @theultimatedeveloper4736
      @theultimatedeveloper4736  3 роки тому +5

      Hi Samuel, I will be posting a video soon on how to make it work on Android. Stay tuned and don't forget to hit that subscribe button.

    • @nugiemurpy
      @nugiemurpy 3 роки тому +1

      @@theultimatedeveloper4736 i wait too

  • @JupiShinn
    @JupiShinn 3 роки тому +3

    Great tutorial thanks! Is there a way to put image on 3d object with this method?

    • @-._63
      @-._63 3 роки тому

      just set texture on material

    • @JupiShinn
      @JupiShinn 3 роки тому

      @@-._63 I tried with no success. This is my first project in Unity and I'm lost :)
      This is raw look of my project. Idea is to set import design button to project texture on a mug.
      jupi.kreativni.hr/Jupi/WebGL/

    • @-._63
      @-._63 3 роки тому

      @@JupiShinn You can send your code?

    • @JupiShinn
      @JupiShinn 3 роки тому

      @@-._63 How? :)

    • @-._63
      @-._63 3 роки тому

      @@JupiShinnoh...

  • @---4618
    @---4618 Рік тому

    You were very helpful! Thank you! (Translated by DeepL)

  • @stephenkentperez7705
    @stephenkentperez7705 Рік тому

    how do i save the image permanently in-game?

  • @ABDf92
    @ABDf92 Рік тому

    How can i use this for Android...?

  • @renatocrovella9269
    @renatocrovella9269 2 роки тому

    Hey, thank you for the tutorial! But I'm having a problem with the browser: no images appears to me... :(

    • @overlordskazzel6330
      @overlordskazzel6330 2 роки тому

      Hello did you manage to figure this out? im having the same problem :c

  • @wilhelmt.muller170
    @wilhelmt.muller170 3 роки тому

    What if I wants to upload audio instead of image?

  • @IftekhairulIslamShawon
    @IftekhairulIslamShawon 3 роки тому +1

    Does this code also work on android / ios devices???

  • @dontomasdelavega
    @dontomasdelavega 3 роки тому

    Hey! I can't seem to build the game... What do i have to do?

    • @Crimtaku
      @Crimtaku 2 роки тому

      From build settings go to player settings and there find Configuration and under that "Api Compatibility Level". Change that from .NET standard 2.0 to .NET 4.x and see if that helps.
      At least in my case it got rid of the error that came from the file browser. Now I still have a bunch of unrelated ones that still stop me from actually building the game... Anyways should be worth a try.

    • @dontomasdelavega
      @dontomasdelavega 2 роки тому

      @@Crimtaku Been a while, but i remember doing this yeah lol

  • @Richartichaut
    @Richartichaut Рік тому

    Okay you showed how to open a file, but how do you do to ask the path to save a file ?

    • @lorenzozimerer5979
      @lorenzozimerer5979 Рік тому

      did you manage to find a way?

    • @hermanmyburgh8309
      @hermanmyburgh8309 Рік тому

      I'm also trying to find out how to do that, as I would like to open a folder as the working directory.

  • @MURILO-DRT
    @MURILO-DRT 2 роки тому

    hey bro i don't know if u are still teaching but u know how to open fileexplorer or photos with a photo

  • @39bigmarks
    @39bigmarks Рік тому

    it doesn't show any files in the browser, it only shows folders.
    edit: nevermind i just used the default script

  • @mradulmangal4915
    @mradulmangal4915 Рік тому

    is it also working for android and ios ?

  • @tirkdiamond
    @tirkdiamond 3 роки тому +1

    I would like the plugin a little more if it could just return the string path...

    • @Crimtaku
      @Crimtaku 2 роки тому

      The plugin can do that no problem and even if the tutorial didn't show it it is quite easy to do. For me I used this to load assetbundles and that required me to have the string path. The code for the OpenFileBrowser function I used is down below and in my case I just call the function for opening the assetbundle passing the string path there. Hope this helped^^
      public void OpenFileBrowser()
      {
      var bp = new BrowserProperties();
      new FileBrowser().OpenFileBrowser(bp, path=> {
      AssetBundleFromLocal(path);
      });
      }

    • @tirkdiamond
      @tirkdiamond 2 роки тому

      @@Crimtaku Here's the thing. I needed this function to return the path, not process it. But you cannot return it directly. I made it work somehow either with this plugin or another - I don't remember - but it would be nice if it could just return the path when it was ready.

    • @Crimtaku
      @Crimtaku 2 роки тому

      @@tirkdiamond Fair enough, to be honest I am still just learning all of this myself and not that good with code to know how to make it return from the top of my head. Luckily for me both returning and further processing the path were valid options. If nothing else I guess it could be just put it into variable instead of returning it and access it from where you need to even if that would be absolutely horrible way to do things.
      Anyways good to hear that you got it working somehow.

    • @tirkdiamond
      @tirkdiamond 2 роки тому

      @@Crimtaku I needed multiple calls so I would have to use a dictionary or some other structure. Saving it into a variable and checking when it is not null, it was not an option for me, unfortunately. :(

  • @satyamdalal7821
    @satyamdalal7821 3 роки тому

    Hey Can you make it work for Android Build?

  • @tomatoprivato7415
    @tomatoprivato7415 2 роки тому

    This is only for Windows, right?

  • @avjari
    @avjari 2 роки тому

    Great. It works perfect!!!

  • @tomasvercetti_vc
    @tomasvercetti_vc 3 роки тому

    You deserve many more SUBS!!! That's exactly i wanted and works fine.
    Thank you very much!!!

    • @racczs2336
      @racczs2336 2 роки тому

      Can you send me the wrapper script ?. His git hub doesn’t work anymore

    • @jesalonboard
      @jesalonboard 2 роки тому

      Hey can how can we create a file browser for showing Videos like this guy created for images? Please help me

  • @user-gm6ck1os4w
    @user-gm6ck1os4w 3 роки тому +3

    Hi, nice tutorial video thanks! I checked it works fine in unity editor but when i try to build on windows platform, there is windows dll error and i can't build it. Could you check this problem how to fix it??

    • @tomasvercetti_vc
      @tomasvercetti_vc 3 роки тому +5

      I had the same problem...
      SOLUTION: the .dll is System.Windows.Form?
      This .dll need .NET 3.5 So i change to .NET 4.x in PlayerSettings (in API Compatibility Level*)... Before the proyect use .NET Standard 2.0
      In my case this way fixed the problem, and the build was succesfull.

    • @tomasvercetti_vc
      @tomasvercetti_vc 3 роки тому +2

      Para algún Hispanohablante:
      Si el .dll que les da el problema es System.Windows.Forms... Si hacen click en el archivo, verán que donde dice Assembly Info Targets .NET 3.5, y debe haber algún problema de compatibilidad con el nivel de .NET del proyecto
      Entonces en mi caso, que tuve el mismo problema... En PlayerSettings, en Others hay una parte que dice Api Compatibility Level*, yo la tenía en .NET Standard 2.0 y LA SOLUCIÓN FUE cambiar a .NET 4.x
      (Usando la versión LTS 2019.4)

    • @akashsaxena3267
      @akashsaxena3267 3 роки тому

      @@tomasvercetti_vc This worked. Thanks a lot

    • @valentinopais7070
      @valentinopais7070 2 роки тому +1

      @@tomasvercetti_vc imaginate ser tan copado que encima lo pones en dos idiomas nana un rey

    • @FrostyyByte
      @FrostyyByte Рік тому

      @@tomasvercetti_vc THANK YOU SO MUCH I WAS SO WORRIED OMG THANK YOU 😀😀

  • @hritbose9269
    @hritbose9269 2 роки тому

    Can I use this source code for commercial purpose?

    • @hermanmyburgh8309
      @hermanmyburgh8309 Рік тому

      It has an MIT license, so I believe it would be allowed.

  • @animationsbelike
    @animationsbelike Рік тому

    thank you so much! :D

  • @elusuarioperpetuo
    @elusuarioperpetuo Рік тому

    on android?

  • @DK-ik6cg
    @DK-ik6cg Рік тому

    Thank you so much

  • @Arca3D-yc3ni
    @Arca3D-yc3ni 11 місяців тому

    thanks

  • @user-gc8ww6ox3c
    @user-gc8ww6ox3c Рік тому

    Nice package! Got lose my scene

  • @Allah_Akbar_Allah_Watching_You
    @Allah_Akbar_Allah_Watching_You 2 роки тому

    Is this work on Mobile?

  • @LaereCool
    @LaereCool 8 місяців тому

    i love mighty indians

  • @mayamamaicez9327
    @mayamamaicez9327 2 роки тому

    Ere genial

  • @srkaio7882
    @srkaio7882 2 роки тому

    hey....
    man i used the github packaged on ur description
    and. that delete all my progress and make my project look like your
    how do i undo this
    bc if i cant undo this iam gonna lose i project that i spend 1 fucking year

    • @mauznemo
      @mauznemo 2 роки тому

      did u make no backups?

    • @JadenAllen
      @JadenAllen 2 роки тому

      I believe it just changed the active scene. Go back to the scene your project is built on.

    • @KonaGarage
      @KonaGarage 2 роки тому

      I got same problem :/

    • @nrliq671games
      @nrliq671games 11 місяців тому

      same, that dude in the video didnt even bothered to rename his shitty example scene bruh

    • @NaviYT
      @NaviYT 6 місяців тому

      You guys need to A) look into version control. (I recommend Git Kraken) and B) Be more careful when importing unity packages.

  • @KonaGarage
    @KonaGarage 2 роки тому

    nice i lost my game scene because of this and basicly lost everything:/

  • @umaradil6949
    @umaradil6949 7 місяців тому

    does it work for linux ?