- Home /
Problem is not reproducible or outdated
Custom FileBrowser : Experiencing hangs and big delays.
This is my custom full screen file browser. I tried to make this as universal and easy as possible. Just drop the folder in assets and go using FileBrowser.Show() to display the browser. Also tried to make it auto scale to any size display without too much fuss. Still have stuff to do, so this isn't finished but I'm getting very annoying delays and hang ups when running, editing and switching from VS to Unity. There is a dialog that shows on the Unity editor when the hang ends but it's only there for a fraction of a second and I don't have enough time to read it. This is not behaviour I've encountered on any other project and only happens when I include the file browser. I can't seem to isolate what's causing it, so if anyone with more experience would take a look I'd be very grateful. I've only been using Unity for a couple months, so still very green. Many thanks Marc.
Answer by Bunny83 · May 21, 2020 at 12:17 AM
I can't really reproduce the issues you're having. Apart from that fact that your whole class / setup is not hot reload compatible I don't get any unusual / additional hangs or delays when I switch back to Unity while the game is running.
Didn't even know there was such a thing as hot reload in Unity, as I said I'm fairly new. But I will look into that, but from what I've read so far, it's something I don't really need at this point. Stopping and restarting the app is not an issue. I'll try a re-install, there may be some dickyness with Unity as while working on other projects I have just noticed it's being a bit sluggish. But thanks for taking a look, knowing it's not doing that for someone else is useful info. Since the script is attached to a prefab, it can't be hot reloaded anyway.
Follow this Question
Related Questions
Creating multiple assets from the same texture 0 Answers
Unity UI: Issue with 3:4 vs 9:16 resolutions 1 Answer
OnMouseDown not called on object for brief period after object moves 1 Answer
Is it possible to make a Unity mobile app appear under the Lock Screen, like the phone app? 0 Answers
AutoLayout Problem with 2 children 2 Answers