Crash with Geometry Nodes changing UVs and Edit Mode #99296

Closed
opened 2022-06-30 14:26:18 +02:00 by Steffen Dünner · 12 comments

System Information
Operating system: Linux-5.15.0-33-generic-x86_64-with-glibc2.31 64 Bits
Graphics card: NVIDIA GeForce RTX 2070 Super/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 515.48.07

Blender Version
Broken: version: 3.3.0 Alpha, branch: master, commit date: 2022-06-30 10:54, hash: 0f22b5599a

Short description of error
Blender instantly closes / crashes when switching to Edit Mode when the object has a Geometry Nodes modifier that outputs UVs. At first I thought it was the new UV Geometry Nodes fault (Pack UV Islands, UV Unwrap) but the I noticed that as soon as a GN modifier tries to output UVs and you switch to Edit Mode Blender crashes.

Exact steps for others to reproduce the error

  • Open the attached file
    UVMap_Crash_v01.blend
  • It's a simple cube with a Principled shader (base color = generated UV grid, but that doesn't matter) and a GN modifier that reads the default UVMap coming with the cube, packs its UV islands and writes it back to UVMap attribute.
  • Press tab to go to Edit Mode
  • Crash

It only happens when the simple material accessing the UVs is assigned. If no material is assigned I can switch to Edit Mode without crash.

**System Information** Operating system: Linux-5.15.0-33-generic-x86_64-with-glibc2.31 64 Bits Graphics card: NVIDIA GeForce RTX 2070 Super/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 515.48.07 **Blender Version** Broken: version: 3.3.0 Alpha, branch: master, commit date: 2022-06-30 10:54, hash: `0f22b5599a` **Short description of error** Blender instantly closes / crashes when switching to Edit Mode when the object has a Geometry Nodes modifier that outputs UVs. At first I thought it was the new UV Geometry Nodes fault (Pack UV Islands, UV Unwrap) but the I noticed that as soon as a GN modifier tries to output UVs and you switch to Edit Mode Blender crashes. **Exact steps for others to reproduce the error** - Open the attached file [UVMap_Crash_v01.blend](https://archive.blender.org/developer/F13242408/UVMap_Crash_v01.blend) - It's a simple cube with a Principled shader (base color = generated UV grid, but that doesn't matter) and a GN modifier that reads the default UVMap coming with the cube, packs its UV islands and writes it back to UVMap attribute. - Press tab to go to Edit Mode - Crash It only happens when the simple material accessing the UVs is assigned. If no material is assigned I can switch to Edit Mode without crash.

Added subscriber: @SteffenD

Added subscriber: @SteffenD

#99452 was marked as duplicate of this issue

#99452 was marked as duplicate of this issue

#99366 was marked as duplicate of this issue

#99366 was marked as duplicate of this issue
Member

Added subscriber: @PratikPB2123

Added subscriber: @PratikPB2123
Member

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

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

Added subscriber: @aleksijuvani

Added subscriber: @aleksijuvani
Added subscribers: @HooglyBoogly, @kevindietrich, @ThomasDinges

@HooglyBoogly @kevindietrich @ThomasDinges I was able to reproduce this with a simple geometry node setup that outputs the vertex index to an integer attribute and a shader that reads it back, so it looks like a more general issue. I ran a bisect and the commit responsible seems to be 6c3965c027 (see also #99323).

@HooglyBoogly @kevindietrich @ThomasDinges I was able to reproduce this with a simple geometry node setup that outputs the vertex index to an integer attribute and a shader that reads it back, so it looks like a more general issue. I ran a bisect and the commit responsible seems to be 6c3965c027 (see also #99323).
Member

Added subscriber: @erik85

Added subscriber: @erik85
Member

Added subscriber: @Vyach

Added subscriber: @Vyach

This issue was referenced by fb42c5838c

This issue was referenced by fb42c5838c0640f51da8ab2deb94a05cc696997c

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Brecht Van Lommel self-assigned this 2022-07-28 21:31:07 +02:00
Thomas Dinges added this to the 3.3 LTS milestone 2023-02-08 15:37:46 +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
6 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#99296
No description provided.