Sculpt vertex color render mode issue when a 2nd layer is used in a shader (crash, artifacts) #79328

Closed
opened 2020-07-27 18:40:48 +02:00 by Zohaib · 13 comments

System Information
Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: Radeon RX 570 Series ATI Technologies Inc. 4.5.13596 Core Profile Context 20.5.1 27.20.1017.1011

Blender Version
Broken: version: 2.91.0 Alpha, branch: master, commit date: 2020-07-26 22:08, hash: ba9c88ce18
Worked: (Crashing ever since the support for direct rendering of sculpt vertex colors)

Short description of error
[It crashes when you add a 2nd layer of sculpt vertex color and use it in the shader editor while rendering]

Exact steps for others to reproduce the error
As demonstrated in the video, open the attached blend file and plug the 2nd vertex color node in the roughness or any other shader attribute

Sculpt Vertex Color Crash.blend

Sculpt Vertex Color Crash.mp4

Even if it does not crash, it spawns artifacts
image.png
image.png

This seems to be a refresh problem, goes away as soon as I do some strokes on the Color.001 sculpt vertex color layer
image.png

**System Information** Operating system: Windows-10-10.0.19041-SP0 64 Bits Graphics card: Radeon RX 570 Series ATI Technologies Inc. 4.5.13596 Core Profile Context 20.5.1 27.20.1017.1011 **Blender Version** Broken: version: 2.91.0 Alpha, branch: master, commit date: 2020-07-26 22:08, hash: `ba9c88ce18` Worked: (Crashing ever since the support for direct rendering of sculpt vertex colors) **Short description of error** [It crashes when you add a 2nd layer of sculpt vertex color and use it in the shader editor while rendering] **Exact steps for others to reproduce the error** As demonstrated in the video, open the attached blend file and plug the 2nd vertex color node in the roughness or any other shader attribute [Sculpt Vertex Color Crash.blend](https://archive.blender.org/developer/F8723429/Sculpt_Vertex_Color_Crash.blend) [Sculpt Vertex Color Crash.mp4](https://archive.blender.org/developer/F8723437/Sculpt_Vertex_Color_Crash.mp4) Even if it does not crash, it spawns artifacts ![image.png](https://archive.blender.org/developer/F8724671/image.png) ![image.png](https://archive.blender.org/developer/F8724673/image.png) This seems to be a refresh problem, goes away as soon as I do some strokes on the `Color.001` sculpt vertex color layer ![image.png](https://archive.blender.org/developer/F8724676/image.png)
Author

Added subscriber: @Zohaib

Added subscriber: @Zohaib
Author

Today's build is also crashing when I open a file from 23 july's build that has sculpt vertex colors being used in it (that build also crashes when a 2nd layer is used though, it's just that the file from that build is not rendering in this build at all). It crashes even if you remove all vertex color nodes, parameters or any existing shaders.

If you create a new file in this build, it works fine with just one layer of sculpt vertex colors.

By the way, I love that we now have the ability to render it directly : ) @PabloDobarro

Today's build is also crashing when I open a file from 23 july's build that has sculpt vertex colors being used in it (that build also crashes when a 2nd layer is used though, it's just that the file from that build is not rendering in this build at all). It crashes even if you remove all vertex color nodes, parameters or any existing shaders. If you create a new file in this build, it works fine with just one layer of sculpt vertex colors. By the way, I love that we now have the ability to render it directly : ) @PabloDobarro
Author

Added subscriber: @PabloDobarro

Added subscriber: @PabloDobarro
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'
Member

Not getting a crash here, but that second layer seems to be borked in a way:

System Information
Operating system: Linux-5.7.10-201.fc32.x86_64-x86_64-with-fedora-32-Thirty_Two 64 Bits
Graphics card: GeForce GTX 970M/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 440.100
version: 2.91.0 Alpha, branch: master, commit date: 2020-07-28 10:02, hash: c8e45c3fe9

image.png
image.png

For me, this goes away as soon as I do some strokes on the Color.001 sculpt vertex color layer
image.png

@Zohaib : does it still crash if you actually do some strokes on the Color.001 sculpt vertex color layer?
@PabloDobarro : could it be that there is something wrong when adding a (blank) new sculpt vertex color layer?

Not getting a crash here, but that second layer seems to be borked in a way: **System Information** Operating system: Linux-5.7.10-201.fc32.x86_64-x86_64-with-fedora-32-Thirty_Two 64 Bits Graphics card: GeForce GTX 970M/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 440.100 version: 2.91.0 Alpha, branch: master, commit date: 2020-07-28 10:02, hash: `c8e45c3fe9` ![image.png](https://archive.blender.org/developer/F8724671/image.png) ![image.png](https://archive.blender.org/developer/F8724673/image.png) For me, this goes away as soon as I do some strokes on the `Color.001` sculpt vertex color layer ![image.png](https://archive.blender.org/developer/F8724676/image.png) @Zohaib : does it still crash if you actually do some strokes on the `Color.001` sculpt vertex color layer? @PabloDobarro : could it be that there is something wrong when adding a (blank) new sculpt vertex color layer?
Author

Changed status from 'Needs User Info' to: 'Needs Developer To Reproduce'

Changed status from 'Needs User Info' to: 'Needs Developer To Reproduce'
Author

@lichtwerk
It crashes when you change the node input while in rendered mode for me. It seems to work fine if you switch the nodes in object mode and then go the rendered mode though. Blank or not, it is crashing if I change it in rendered view. It does lets you paint on and change to more layers inobject mode as I mentioned before.

@lichtwerk It crashes when you **change the node input while in rendered mode** for me. It seems to work fine **if you switch the nodes in object mode and then go the rendered mode though**. Blank or not, it is crashing if I change it in rendered view. It does lets you paint on and change to more layers in**object mode** as I mentioned before.
Author

Update: It only crashes when you switch the nodes while rendering in Eevee. Cycles seems to work fine.

Update: It only crashes when you switch the nodes while rendering in Eevee. **Cycles seems to work fine.**
Member

Changed status from 'Needs Developer To Reproduce' to: 'Confirmed'

Changed status from 'Needs Developer To Reproduce' to: 'Confirmed'
Member

Still cannot reproduce a crash, but confirming since there seems to be a bug in any case.

Still cannot reproduce a crash, but confirming since there seems to be a bug in any case.
Philipp Oeser changed title from Sculpt vertex color render mode crashes when a 2nd layer is used in a shader to Sculpt vertex color render mode issue when a 2nd layer is used in a shader (crash, artifacts) 2020-09-05 12:33:33 +02:00
Member

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Pablo Dobarro self-assigned this 2021-01-22 00:32:46 +01:00
Member

This was fixed in 492a9e4023

This was fixed in 492a9e4023
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
3 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#79328
No description provided.