Opening Blender file with relative path breaks internal relative paths. #86544
Labels
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
9 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#86544
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: GeForce GTX 1080 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 457.30
Blender Version
Broken: version: 2.92.0, branch: master, commit date: 2021-02-24 16:25, hash:
02948a2cab
Worked: (newest version of Blender that worked as expected)
Short description of error
Opening a Blender file from another folder with a relative path changes the relative paths to libraries so that there are too many "../" in the paths.
Exact steps for others to reproduce the error
For easy recreation of the issue, I uploaded a zip file with a folder structure, an example file and a bat file to execute the .blend file with a relative path.
To start the test:
execute/launch_test.bat
file to point to yourblender.exe
directoryrel_path_test.zip
Added subscriber: @PeterBaintner
Added subscriber: @lichtwerk
Cannot reproduce
Added subscriber: @mano-wii
Changed status from 'Needs Triage' to: 'Confirmed'
I can confirm.
Apparently the problem only happens on Windows.
Added subscriber: @rotoglup
Added subscriber: @Mets
This has been coming up during Sprite Fright a number of times, and am requesting bumping prio on this.
Animators would report files breaking after using Save As to save the file somewhere else, then reloading the file. The paths end up looking like this:
And after File->External Data->Find Missing Files, aka the correct paths, should be this:
So for our case it's actually a case of not enough "../", unlike in the report, but I can only assume it's the same issue.
I've had this reported by an animator in the past who was not working on Windows at the time, so I think it might not be windows-specific, but I certainly cannot reproduce on my Linux machine. I can test later on Windows too though, with the attached .bat file.
Added subscriber: @Rikstopher
This comment was removed by @Rikstopher
Added subscriber: @fsiddi
Added subscriber: @mont29
@Mets this has nothing really to do with current report, which is a problem at opening a blend file with relative path from command line essentially...
Will fix that one, please make proper report for the issue that is 'super urgent'...
This issue was referenced by
fbd889ec28
Changed status from 'Confirmed' to: 'Resolved'