Comments (5)
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.
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.
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.
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.
Ah Yeah. I can see it now. I thought it was closed off. Thanks !
from unitysimplefilebrowser.
Related Issues (20)
- A question about compatibility HOT 4
- file save/load pathes cannot be used on android 13 HOT 1
- Suggestion: Expose DocumentsContract.isChildDocument HOT 3
- Overwrite prompt only works once HOT 3
- MissingReferenceException: The variable m_font of UISkin doesn't exist anymore. HOT 1
- how do you add a link to user sub folder like C:\\Users\<username>\Pictures ? HOT 1
- How to get the SimpleFileBrowserCanvas(Clone) reference after it spawns on my scene in script? HOT 2
- Exclusion not working HOT 1
- Changing skin during runtime throws error HOT 2
- VR Pointer issue when selecting items in File Browser (Oculus/Meta Quest 2) HOT 8
- Android Showing Different Menu HOT 10
- Log Spam: Invalid Unicode Error HOT 6
- WebGL Methods HOT 2
- File Access does not work on quest 2 HOT 3
- Drop Down Text Missing
- GLB and JSON files not appearing Quest Pro HOT 10
- How do I turn off listening for long presses and multiple selections HOT 2
- Whether it supports opening folders on Android phones HOT 1
- Files do not show in playmode HOT 1
- 1.6.6 (git) & 2022.3.23f (windows) — Null Reference Exception HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from unitysimplefilebrowser.