Skip to content
This repository was archived by the owner on Jun 23, 2025. It is now read-only.
This repository was archived by the owner on Jun 23, 2025. It is now read-only.

Issue with Initial Directory for Browser Properties #3

@SpicyMelonYT

Description

@SpicyMelonYT

Hi,

Before anything I just want to say that this package is such a huge help. Its so simple and clean, and gets the job done too.

However, its not getting the job done if I put anything for the initial director in the browser properties.

The path I want to put in is the path to a folder called images in the resources folder in my project. To do this I write this:
bp.initialDir = Application.dataPath + "/Resources/Images";

I first thought that the issue was that the path can't access the Resources folder for some weird reason so I tried just going to a folder on my desktop:
bp.initialDir = "C:\Users\Matthew\Desktop\TestFolder";

That also didn't work.

Also I have boiled this problem down to exactly the initial directory variable. With that code it breaks, without it it doesn't. And I tried commenting out other parts of my code to see if any of that was the problem and its not.

So I am assuming this is a problem with "AnotherFileBrowser" code.

Anyway, is there anything I could do or can anyone help me?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions