Effect of Collection order on Linking with scaled proxy armature #72197
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
6 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#72197
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.18362 64 Bits
Graphics card: GeForce GTX 970/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 436.30
Blender Version
Broken: version: 2.80 (sub 75), branch: master, commit date: 2019-07-29 14:47, hash:
f6cb5f5449
Short description of error
Internal collection order affects result of linking. Probably losing parenting.
Exact steps for others to reproduce the error
test-geo-first.blend
test-arm-first.blend
Added subscriber: @KonstantinsVisnevskis
Tested in 2.81 with the same result.
Linking collection orderto Effect of Collection order on LinkingAdded subscriber: @JacquesLucke
Changed status from 'Needs Triage' to: 'Needs User Info'
It seems to work for me in the current build. Maybe I'm doing something wrong because I don't know too much about the whole proxy linking etc.
Can you check if the same issue still exists in the latest builds from https://builder.blender.org/download/ ?
Hi, the mismatch is still there.
Here's the file linking the files above as per description:
linked.blend
Edit3: Enter pose mode and move bone on the left object. The geometry doesn't match motion scale, which doesn't happen on the right object.
The problem seems to be worse as in some cases changing collection order does not restore proper object relationship in linked data and the geometry flies all over the place. Strangely - that happens only on viewport redraws inside pose mode. Once in object mode viewport redraws seem to be fine. And once making everything local or appending instead of linking everything goes back to normal.
Unfortunately the files are under NDA. I'll try to extract the problem in some time.
Edit: this seems to be related but another bug, as the problem initially reported remains after exiting pose mode.
Edit2: My bad - it's on the geometry recalc, not a viewport redraw. So this is the same problem.
Changed status from 'Needs User Info' to: 'Needs Triage'
After a bit of shifting around - a probable workaround seems to be to link with unchecked "Instance Collections"
(then select rig in Outliner to make proxy, as it's usually hidden to avoid doubling).
That way, although a bit messy, everything seems to work, so there's probably some conflict with parenting when instancing.
Added subscribers: @mont29, @lichtwerk
Changed status from 'Needs Triage' to: 'Confirmed'
Can confirm.
Also no expert in the proxy stuff, maybe @mont29 would know more?
Looks like a bug to me...
(Overrides seem to behave better than proxies here btw)
T72197_overrides.zip
Effect of Collection order on Linkingto Effect of Collection order on Linking with scaled proxy armature@KonstantinsVisnevskis: to me it looks like D6651: Fix #72083: Object.proxy_collection is been set to linked target object even when target is not a collection fixes this, can you confirm?
note you have to do "Make Proxy" again (with the patch)... in
linked.blend
this was already done (without the patch)Sorry for the noise, spoke too soon, not resolved by D6651...
Added subscriber: @dr.sybren
Changed status from 'Confirmed' to: 'Needs User Info'
@KonstantinsVisnevskis I can't reproduce this issue in current master (
409074aae5
). I downloaded all the attached files, opened yourlinked.blend
and toyed around with the proxied armature's bone of the left object. Seems to be fine to me.However, I'm reluctant to just mark this as resolved as Jacques also couldn't reproduce.
Did a test with builder.blender.org - blender-2.83-7b8db971d42f-linux64.tar.xz.
Ok, so:
For me it happens on two different machines - windows and Linux.
Should I test some particular version? I'm not sure where to look for
409074aae5
.Changed status from 'Needs User Info' to: 'Confirmed'
Hm, weird, I can still reproduce this (
ee7034949f
)#72197-unable-to-reproduce.mp4
I can't reproduce this with either my own (
b454a12233
) or today's (fe7c4fb4a2
) buildbot build. Let me know what I'm doing wrong.Indeed weird, looks like this here:
#72197.webm
@dr.sybren Yeah, doing what you do in the recording produces what @lichtwerk shows with
fe7c4fb4a2
for me. (Also did Load Factory preferences to be sure)Edit: This behavior was first caught in a studio, where it happened on many machines to many people.
Changed status from 'Confirmed' to: 'Needs User Info'
@KonstantinsVisnevskis can you try starting Blender with
blender -t 1 thefile.blend
? That way only a single thread is used during the dependency graph evaluation. If this solves the issue, it's likely a threading issue (for example caused by a missing relation in the depsgraph).Hi,
./blender -t 1 linked.blend
unfortunately gives the same result.
Changed status from 'Needs User Info' to: 'Confirmed'
That's too bad. I'll have to leave further investigation to @lichtwerk, as he can actually reproduce the issue.
I have found a way to reproduce.
@dr.sybren : thx taking over (this somewhat slipped under the radar...)
Added subscribers: @Sergey, @brecht
@KonstantinsVisnevskis The problem can be worked around by making the armature collection visible in the library file.
In the example files, the armature is hidden. In various dupli-handling places in Blender there are loops over the visible objects in a collection, for example in
DepsgraphRelationBuilder::build_collection()
, and there are some other places where visibility plays a role.Here is a little overview of the hierarchy in the library file
test-arm-first.blend
, and the main blend file:In the library file the armature collection is hidden, but its proxy in the main blend file is visible. @Sergey @brecht before I spend more hours on this, is this a supported situation to begin with? Or should the visibility of the armature collection in the library file be managed with the eye icon instead?
I would not spend any time on fixing old proxy issue like this at all, and focus on overrides instead. Especially as I guess the simple solution here is to just enable that collection in the original file.
I think this should be marked as low priority known issue. Visibility handling of proxies could probably be improved here, but eventually proxies will be obsolete anyway.
Enabling showing armature in the viewport indeed seems to avoid the issue (it was hidden to avoid seeing two armatures after creating a proxy, which now seems not to be there).
If linking will be dropped entirely it seems indeed not worth investing effort.
If it won't - there seems to be more issues with character linking behaving in alike fashion and this is merely the one I managed to isolate, hoping they might be related.
As for overrides, when last tested, due to driver/shapekey (and possibly custom property) issues overrides weren't ready for characters yet. Though seem awesome otherwise.
It won't. It's the proxy system that is slated for removal. This will happen some point after the library overrides are developed far enough to be a suitable replacement.
Changed status from 'Confirmed' to: 'Archived'
Time to archive this task, proxies have now been fully removed from Blender.