Skip to content

Can't save UI scene with assets stored in a symlink dir #907

@LedinecMing

Description

@LedinecMing

Description

My assets are in data, that is a symlink dir with assets. When I try to save a UI scene I get an error in log

[ERROR]: Failed to create relative path for /home/user/data/unnamed.ui. Reason: unable to strip prefix from '/home/user/data/unnamed.ui'! Reason: prefix not found

And saving doesn't work.

To Reproduce

Steps to reproduce the behavior:

  1. Create a symlink dir with assets
  2. Save a UI scene
  3. Get errors, file can't be saved, can't change output directory

Expected behavior

Scene is saved.

Screenshots

If applicable, add screenshots to help explain your problem.

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