Crash when baking vertex colors when Auto Smooth is enabled #89842

Closed
opened 2021-07-13 18:47:33 +02:00 by Joep Peters · 8 comments

System Information
Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: NVIDIA GeForce GTX 1050/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 471.11

Blender Version
Broken: version: 2.93.1, branch: master, commit date: 2021-06-22 05:57, hash: 1b8d33b18c

Short description of error
When baking vertex colors with Cycles, Blender crashes when a mesh's normals are set to Auto Smooth.

Exact steps for others to reproduce the error

  1. Create a new mesh object primitive (cube).
  2. Add a vertex color channel to the mesh.
  3. Toggle Auto Smooth to true in the Normals properties of the object's mesh.
  4. Set renderer to Cycles and GPU compute.
  5. Set the output bake target to 'Vertex Colors'.
  6. Click bake and observe Blender crashing.

See this blend file:
BakeColorsBug.blend

When baking the object 'Cube', having Auto Smooth disabled, no crash.
When baking the object 'CubeAutoSmooth', having Auto Smooth enabled, Blender crashes.

**System Information** Operating system: Windows-10-10.0.19041-SP0 64 Bits Graphics card: NVIDIA GeForce GTX 1050/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 471.11 **Blender Version** Broken: version: 2.93.1, branch: master, commit date: 2021-06-22 05:57, hash: `1b8d33b18c` **Short description of error** When baking vertex colors with Cycles, Blender crashes when a mesh's normals are set to Auto Smooth. **Exact steps for others to reproduce the error** 1. Create a new mesh object primitive (cube). 2. Add a vertex color channel to the mesh. 3. Toggle `Auto Smooth` to true in the Normals properties of the object's mesh. 4. Set renderer to Cycles and `GPU compute`. 5. Set the output bake target to 'Vertex Colors'. 6. Click bake and observe Blender crashing. See this blend file: [BakeColorsBug.blend](https://archive.blender.org/developer/F10223398/BakeColorsBug.blend) When baking the object 'Cube', having Auto Smooth disabled, no crash. When baking the object 'CubeAutoSmooth', having Auto Smooth enabled, Blender crashes.
Author

Added subscriber: @schweppie

Added subscriber: @schweppie
Member

Added subscriber: @PratikPB2123

Added subscriber: @PratikPB2123
Member

Already fixed with the commit 5f9677fe0c but not backported yet (can still reproduce with recent 2.93.2 build but not with 3.0.0)

@schweppie , can you please try again with most recent 3.0.0 build? (https://builder.blender.org/download/daily/)

Already fixed with the commit 5f9677fe0c but not backported yet (can still reproduce with recent 2.93.2 build but not with 3.0.0) @schweppie , can you please try again with most recent 3.0.0 build? (https://builder.blender.org/download/daily/)
Author

Yep! Seems to be fixed in the most recent 3.0.0 build ae379714e4.

Can the fix also make it into 2.93.2? Would love to see it fixed in the LTS version.

Yep! Seems to be fixed in the most recent 3.0.0 build ae379714e4f1. Can the fix also make it into 2.93.2? Would love to see it fixed in the LTS version.
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

I have added the fix on the list to be backported, see #88449 (Blender LTS: Maintenance Task 2.93).
Will merge this report with #88756 though, no reason to keep two reports open now.

I have added the fix on the list to be backported, see #88449 (Blender LTS: Maintenance Task 2.93). Will merge this report with #88756 though, no reason to keep two reports open now.
Member

Closed as duplicate of #88756

Closed as duplicate of #88756
Author

Thanks @lichtwerk! Looking forward to the new 2.93 release : )

Thanks @lichtwerk! Looking forward to the new 2.93 release : )
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#89842
No description provided.