Skip to content

Opening shader graph and saving a file opens steamapps directory #131

@joshuascript

Description

@joshuascript

Problem: When opening the Shader Graph and saving it navigates to \Steam\steamapps\common\sbox directory instead of the engine filesystem directory.

Severity: Minor

Causes: Only happens when shader graph is opened first. Other tools navigate to their respective folders. Shader graph later will navigate to filesystem, but to the subdirectory of the previous editors directory.

Step-by-step bug replication:
1. Launch editor.
2. Open shader graph, attempt to save, opens steamapps/sbox directory.

Workaround:
1. Navigate to filesystem manually, or open another tool editor such as Model Editor, attempt to save, opens Assets/models in engine directory
2. Re open shader graph, attempt a save, directory will open Assets/models again and user can navigate to their own directory for their shaders.

Implications: Saving outside of filesystem will not register shader causing it to not compile, or properly be in the filesystem.
Error caused - Unable to register asset C:/Users/UserName/Documents/s&box projects/testbed/untitled.shdrgrph

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions