inconsistency between cycles and eevee regard undefined attribute value #100120

Closed
opened 2022-08-01 14:22:25 +02:00 by bar · 16 comments

System Information
Operating system: Windows-10-10.0.19044-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 3080 Laptop GPU/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 516.59

Blender Version
Broken: version: 3.1.2, branch: master, commit date: 2022-03-31 17:40, hash: cc66d1020c
Worked: (newest version of Blender that worked as expected)

Short description of error
cycles shows black when trying to use undefined attribute.
eevee shows error pink color.

notice eyebrows and hair.

cycles.png

eevee.png

**System Information** Operating system: Windows-10-10.0.19044-SP0 64 Bits Graphics card: NVIDIA GeForce RTX 3080 Laptop GPU/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 516.59 **Blender Version** Broken: version: 3.1.2, branch: master, commit date: 2022-03-31 17:40, hash: `cc66d1020c` Worked: (newest version of Blender that worked as expected) **Short description of error** cycles shows black when trying to use undefined attribute. eevee shows error pink color. notice eyebrows and hair. ![cycles.png](https://archive.blender.org/developer/F13329310/cycles.png) ![eevee.png](https://archive.blender.org/developer/F13329321/eevee.png)
Author

Added subscriber: @barakooda

Added subscriber: @barakooda
Member

Added subscriber: @OmarEmaraDev

Added subscriber: @OmarEmaraDev
Member

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

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

I can't reproduce that myself. Both return black in case an attribute doesn't exist.
Are you sure that it is not a missing texture or something? Can you share that file or a simplified version of it?

I can't reproduce that myself. Both return black in case an attribute doesn't exist. Are you sure that it is not a missing texture or something? Can you share that file or a simplified version of it?
Author

Sorry, you very right.
for_new_segmentation_small_b.blend

Sorry, you very right. [for_new_segmentation_small_b.blend](https://archive.blender.org/developer/F13329520/for_new_segmentation_small_b.blend)
Member

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

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

I assume you mean it was a missing texture indeed. In this case, we can archive that.

I assume you mean it was a missing texture indeed. In this case, we can archive that.
Author

nope -
the "a" pass is black
in eevee
is blue.

simply
inconsistency between cycles and eevee regard undefined attribute name\value
01_eevee.png

01_cyccles.png

nope - the "a" pass is black in eevee is blue. simply inconsistency between cycles and eevee regard undefined attribute name\value ![01_eevee.png](https://archive.blender.org/developer/F13329586/01_eevee.png) ![01_cyccles.png](https://archive.blender.org/developer/F13329591/01_cyccles.png)
Member

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

Changed status from 'Archived' to: 'Needs Triage'
bar changed title from inconsistency between cycles and eevee regard undefined value to inconsistency between cycles and eevee regard undefined attribute value 2022-08-01 17:16:11 +02:00

Added subscriber: @mano-wii

Added subscriber: @mano-wii

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

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

I can reproduce the issue, but the file is too complex and therefore not suitable for a bug report.
We require the bug reporter to narrow down the problem.
Normally .blend files can be simplified by removing most objects and disabling settings, until the problem reveals itself more clearly.

From what I can see, the problematic material fetches the body_parts_segmentation attribute on the mesh.
But the mesh with the material doesn't have the body_parts_segmentation attribute. It is found in another object.
So, a guess, the result seen seems to be an undefined behavior.

I can reproduce the issue, but the file is too complex and therefore not suitable for a bug report. We require the bug reporter to narrow down the problem. Normally .blend files can be simplified by removing most objects and disabling settings, until the problem reveals itself more clearly. From what I can see, the problematic material fetches the `body_parts_segmentation` attribute on the mesh. But the mesh with the material doesn't have the `body_parts_segmentation` attribute. It is found in another object. So, a guess, the result seen seems to be an undefined behavior.
Author

added simplified file with two objects - both contain same issue.
anything else i can help with ?
thank you and keep up the great work.for_new_segmentation_small_b.blend

added simplified file with two objects - both contain same issue. anything else i can help with ? thank you and keep up the great work.[for_new_segmentation_small_b.blend](https://archive.blender.org/developer/F13330968/for_new_segmentation_small_b.blend)

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

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

A simplified file would look something like this:
hair_material_with_non-existing_attribute__bug.blend

The problem in fact is what was mentioned before.
The body_parts_segmentation attribute does not exist in the mesh.
The fact that a blue color appears is an undefined behavior.
Cycles displays black in this case, Eevee for some reason displays blue but the color is not defined.

Surely Eevee and Cycles should behave the same in these cases. However the report needs to be edited or a new one created to explain the real bug.

But this doesn't have much priority as it is an undefined behavior and the old hair system will soon be replaced.

A simplified file would look something like this: [hair_material_with_non-existing_attribute__bug.blend](https://archive.blender.org/developer/F13333947/hair_material_with_non-existing_attribute__bug.blend) The problem in fact is what was mentioned before. The `body_parts_segmentation` attribute does **not exist** in the mesh. The fact that a blue color appears is an undefined behavior. Cycles displays black in this case, Eevee for some reason displays blue but the color is not defined. Surely Eevee and Cycles should behave the same in these cases. However the report needs to be edited or a new one created to explain the real bug. But this doesn't have much priority as it is an undefined behavior and the old hair system will soon be replaced.

Closed as duplicate of #100174

Closed as duplicate of #100174
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#100120
No description provided.