GithubHelp home page GithubHelp logo

Comments (5)

PlantDad avatar PlantDad commented on August 11, 2024 1

I realized what the problem was after reading your reply and answering. I was working from your example and I hadn't removed the line where it reads the first few bytes of the file, of course that would throw an exception, because the file didn't exist. The access denied exception threw me off, along with that I didn't get a printout from earlier in the script than the error occurred. After commenting the line out it works perfectly. Been trying a ton of other things but it's always something simple. Thanks for the help.

from unitysimplefilebrowser.

yasirkula avatar yasirkula commented on August 11, 2024

Do you mean you double click a folder in the file browser and it always throws UnauthorizedAccessException and doesn't list the files in that folder? Could you give any more info that might be useful like the target platform?

from unitysimplefilebrowser.

PlantDad avatar PlantDad commented on August 11, 2024

Hey. I'm selecting a folder and not a file, because I need the path of the folder. When i click load, It then throws the UnauthorizedAccessException. Buildplatform for now is just windows x64_86.

I read somewhere that it might be trying to read the folder as a file, but I figured there had to be more to it in this case since the file browser is supposed to be able to read both.

from unitysimplefilebrowser.

yasirkula avatar yasirkula commented on August 11, 2024

BTW when you use ShowLoadDialog, the answer to "I can't figure out how to read paths[0] afterwards" is, you process the path inside ( paths ) => { Debug.Log( "Selected: " + paths[0] ); }.

from unitysimplefilebrowser.

PlantDad avatar PlantDad commented on August 11, 2024

Ah Yeah. I can see it now. I thought it was closed off. Thanks !

from unitysimplefilebrowser.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.