Cycles Sculpt Vertex Color crash or wrong render #85048

Closed
opened 2021-01-25 17:20:51 +01:00 by Ahmed · 7 comments

System Information
Operating system: Windows-10-10.0.18362-SP0 64 Bits
Graphics card: GeForce GT 525M/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 391.35

Blender Version
Broken: version: 2.93.0 Alpha, branch: master, commit date: 2021-01-24 23:16, hash: cf6d17a6aa

Caused by bbe6d44928

Short description of error
Sculpt Vertex Color doesn't appear in Cycles viewport or render and sometimes Blender crashes but works fine in Eevee

Exact steps for others to reproduce the error
[Please describe the exact steps needed to reproduce the issue]
[Based on the default startup or an attached .blend file (as simple as possible)]

untitled.blend

**System Information** Operating system: Windows-10-10.0.18362-SP0 64 Bits Graphics card: GeForce GT 525M/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 391.35 **Blender Version** Broken: version: 2.93.0 Alpha, branch: master, commit date: 2021-01-24 23:16, hash: `cf6d17a6aa` Caused by bbe6d44928 **Short description of error** Sculpt Vertex Color doesn't appear in Cycles viewport or render and sometimes Blender crashes but works fine in Eevee **Exact steps for others to reproduce the error** [Please describe the exact steps needed to reproduce the issue] [Based on the default startup or an attached .blend file (as simple as possible)] [untitled.blend](https://archive.blender.org/developer/F9597155/untitled.blend)
Author

Added subscriber: @AhmedNassef

Added subscriber: @AhmedNassef
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'
Member

Can confirm.
Looks like this here in Renderer viewport:

image.png

whereas Eevee renders like this

image.png

Upon rendering in Cycles, I get the following Assert:

blender: intern/cycles/render/attribute.cpp:155: void ccl::Attribute::set_data_from(ccl::Attribute&&): Assertion `other.element == element' failed.
Can confirm. Looks like this here in Renderer viewport: ![image.png](https://archive.blender.org/developer/F9598361/image.png) whereas Eevee renders like this ![image.png](https://archive.blender.org/developer/F9598363/image.png) Upon rendering in Cycles, I get the following Assert: ``` blender: intern/cycles/render/attribute.cpp:155: void ccl::Attribute::set_data_from(ccl::Attribute&&): Assertion `other.element == element' failed. ```
Member

Thing is that sculpt vertex colors are ATTR_STD_VERTEX_COLOR -- but with ATTR_ELEMENT_VERTEX instead of the expected ATTR_ELEMENT_CORNER_BYTE for regular vertex colors.
Got a fix, but unsure if this is the right way to go.

Thing is that **sculpt** vertex colors are `ATTR_STD_VERTEX_COLOR` -- but with `ATTR_ELEMENT_VERTEX` instead of the expected `ATTR_ELEMENT_CORNER_BYTE` for **regular** vertex colors. Got a fix, but unsure if this is the right way to go.
Philipp Oeser changed title from Sculpt Vertex Color Bug to Cycles Sculpt Vertex Color crash or wrong render 2021-01-26 11:27:30 +01:00

This issue was referenced by c51a5b204c

This issue was referenced by c51a5b204cc15d079dd319bd95296f5ebe4922c9

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Brecht Van Lommel self-assigned this 2021-01-26 15:47:12 +01:00
Thomas Dinges added this to the 2.93 LTS milestone 2023-02-07 18:46:38 +01:00
Sign in to join this conversation.
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
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#85048
No description provided.