Force field + hair dynamics not working in (linked) instanced collections #60945
Labels
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset System
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Code Documentation
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
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
Viewport & EEVEE
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Asset Browser Project
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
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
Module
Viewport & EEVEE
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Severity
High
Severity
Low
Severity
Normal
Severity
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
5 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#60945
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
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 64 bit
Graphics card: GeForce GTX 1070
Blender Version
Broken: 2.80
3d8cbb534f
(2019-01-25)Worked: 2.79b release
A surface force field does not affect hair dynamics when it is part of a collection that is linked into another file.
Steps to reproduce:
Example blend file attached.
hair_force_test.blend
Added subscriber: @sobakasu
Added subscriber: @lichtwerk
Cannot reproduce actually [in a build from today].
I have linked the scene [that brings in everything] and hair is flying up...
Are you linking the scene? Or just the object?
Maybe you can show us a video of this failing?
Marking as incomplete until we have more information...
Or: are you linking the collection? (with
Instance Collection
option)[see related comment in #60963]
Added subscriber: @mont29
Can confirm now.
Sidenote [not sure this is related]: When linking the collection a debug build will actually assert here:
BLI_assert failed: /blender/blenlib/intern/BLI_ghash.c:466, ghash_insert_ex(), at '(gh->flag & GHASH_FLAG_ALLOW_DUPES) || (BLI_ghash_haskey(gh, key) == 0)'
regarding this assert: maybe @mont29 can shed some light on this?
Added subscriber: @ideasman42
@lichtwerk that assert should for sure never be triggered, but in that case, it is caused by issue with brushes being saved in double or more (from userpref, iirc, @ideasman42 knows the details and fixed the issue some days ago). So in that specific case, it is harmless, just means that the library reading code is only aware of one of the two brushes IDs sharing the same name… Re-saving the library with a recent build will fix that problem.
@mont29: thx for explanation
Force field + hair dynamics not working with linked libraryto Force field + hair dynamics not working in (linked) instanced collectionsAdded subscriber: @dr.sybren
@sobakasu Is this the same problem as #60963?
I can confirm that this is still an issue in current master (9ae3f3ce929044e07ffaa46305c2d91a774d9214)
Added subscribers: @Sergey, @brecht
This is actually more a depsgraph/physics evaluation issue than a data/IO one.
Root of the problem is that objects that only exist as instances from [an empty-instanced collection, particle-instanced objects, …], i.e. which are not actually instanced by themselves in a collection of the current ViewLayer, are completely ignored by the code gathering a list of effectors during depsgraph building (see
BKE_effector_relations_create
).Thing is, am not quiet sure how we could gather those instances properly here, and effector storage currently also expects proper objects afaict, not
DupliObject
.Summoning @Sergey or @brecht here for more educated advices, but imho this should be considered a known limitation for now?
In the mean while, if you specify a given collection as source of effectors for your particle hair system, it should work fine in that specific case.
I would consider it a know limitation for now. It would be good to support instancing effectors like this, but the implementation is just not there.