Crash when assign material #57825
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
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#57825
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
win 10 pro gtx 970
Blender Version
Broken: 2.80.30
Short description of error
Crash when assign material "мармур" to any other object, like 0_curve_.001 Misha_Dutchak PARUS_02.blend
Exact steps for others to reproduce the error
_
Added subscriber: @V0vi
Added subscribers: @Sergey, @lichtwerk
can confirm an assert/crash and multiple issues here.
1. CoW asserts
BLI_assert((id->tag & LIB_TAG_COPIED_ON_WRITE) == 0);
Originates in Material Preview rendering and then fails for nodegroups (e.g. "NTFacingAngle")
This goes away if I call
.user_clear()
on all nodegroups, save file and reopen again.@Sergey: not aware of these CoW issues with nodegroups, is this a known thing? mind having a look?
2. Material errors with Normal Map Nodes set to tangent space (and specific UV)
BLI_assert(CustomData_number_of_layers(&rdata->cd.output.ldata, CD_TANGENT) == rdata->cd.layers.tangent_len);
Happens on the "Carrot" materials (e.g. MACarrot Sliced, etc).
This goes away if I call
.user_clear()
on all these materials, save file and reopen again.(alternatively, it should be sufficient to not specify a specific UV map in the Normal Map node -- havent tested this though...)
This has already been reported in #57664, so I guess we can leave that out for now...
Here is a way simpler file which demonstrates the CoW issue: node_group_cow_bug.blend
P.S. Simply go to material tab.
This issue was referenced by
7291996f3b
Changed status from 'Open' to: 'Resolved'
I did fix the depsgraph/copy-on-write issue now.
As Philipp mentions, the tangent/UV bug is already reported. No need to have duplicated report about it.
Thanks for the report!