Regression: Node tree result changed in other version #112746

Closed
opened 2023-09-22 21:53:52 +02:00 by Jacobs-Sven · 12 comments

System Information
Operating system: 3 GHz Dual-Core Intel Core i7
Graphics card: Intel Iris 1536 MB

Blender Version
Broken: version: 3.6.0 Alpha, branch: main, commit date: 2023-05-01 20:15, hash: 0652945dbda7
Worked: version: 3.6.0 Alpha, branch: geometry-nodes-simulation, commit date: 2023-04-28 15:00, hash: 4129e1553d73

Behavior changed in 0652945dbd

Short description of error
The endresult of my nodetree changed, because some nodes are added to the tree.
By just removing them it's not fixed.

Exact steps for others to reproduce the error
Just open the file and you will see the difference in 3.5 and 3.6.
The nodetree is ment to make designing easier. By just drawing a curve, creating a woody construction, with multiple options. The problem is in the whole tree I think, so I cant exact tell what the problem is. I red something about the " sample nearest face " node. Maybe it has to do something with this.

**System Information** Operating system: 3 GHz Dual-Core Intel Core i7 Graphics card: Intel Iris 1536 MB **Blender Version** Broken: version: 3.6.0 Alpha, branch: main, commit date: 2023-05-01 20:15, hash: `0652945dbda7` Worked: version: 3.6.0 Alpha, branch: geometry-nodes-simulation, commit date: 2023-04-28 15:00, hash: `4129e1553d73` Behavior changed in 0652945dbda76e5ba329a7e5aee45afc0d3a83d3 **Short description of error** The endresult of my nodetree changed, because some nodes are added to the tree. By just removing them it's not fixed. **Exact steps for others to reproduce the error** Just open the file and you will see the difference in 3.5 and 3.6. The nodetree is ment to make designing easier. By just drawing a curve, creating a woody construction, with multiple options. The problem is in the whole tree I think, so I cant exact tell what the problem is. I red something about the " sample nearest face " node. Maybe it has to do something with this.
Jacobs-Sven added the
Priority
Normal
Type
Report
Status
Needs Triage
labels 2023-09-22 21:53:52 +02:00
Iliya Katushenock added the
Interest
Geometry Nodes
Interest
Nodes & Physics
labels 2023-09-22 22:42:54 +02:00

Hey, please, make this node tree more simple!

Hey, please, make this node tree more simple!
Iliya Katushenock changed title from Node tree changed in 3.6, so that my end result changed to Regression: Node tree result changed in other version 2023-09-22 22:48:23 +02:00
Iliya Katushenock added the
Interest
Compatibility
label 2023-09-22 22:49:06 +02:00
Iliya Katushenock added this to the 3.6 LTS milestone 2023-09-22 22:49:10 +02:00
Member

Even if the nodetree could be simplified, will check when behavior changed

Even if the nodetree could be simplified, will check when behavior changed
Philipp Oeser added
Status
Confirmed
Module
Nodes & Physics
and removed
Status
Needs Triage
labels 2023-09-25 12:26:38 +02:00
Iliya Katushenock removed the
Interest
Nodes & Physics
label 2023-09-25 13:23:27 +02:00
Member

Behavior changed in 0652945dbd

CC @mod_moder
CC @HooglyBoogly

Behavior changed in 0652945dbda76e5ba329a7e5aee45afc0d3a83d3 CC @mod_moder CC @HooglyBoogly
Member

Cannot really tell if this is expected behavior, will raise prio for now since it looks like regression from user perspective

Cannot really tell if this is expected behavior, will raise prio for now since it looks like regression from user perspective
Philipp Oeser added
Priority
High
and removed
Priority
Normal
labels 2023-09-26 12:00:48 +02:00
Iliya Katushenock self-assigned this 2023-09-26 12:18:58 +02:00

I will check this later today.

I will check this later today.

Behavior changed in 0652945dbd

If so, then this is expected. When a result became deterministic, any other, non-deterministic result became incorrect. It is expected that incorrect results are no longer relevant.
There should be no problem for you, since previously this would have been incorrect behavior.


I found the fact that the results are different in different versions due to different normals. Inverting them solves the problem of one of the groups working the same way.

Before After
image image

Please simplify your report. This will be a multi report if the problem is in 0652945dbd ones, but the bug is also related to the Mesh Extrude node \ mesh normals.

Please, parse your node trees and report any problems separately. And make a maximum of 10 nodes in the file!

image image
image image
image image
image image
> Behavior changed in 0652945dbd If so, then this is expected. When a result became deterministic, any other, non-deterministic result became incorrect. It is expected that incorrect results are no longer relevant. There should be no problem for you, since previously this would have been incorrect behavior. --- I found the fact that the results are different in different versions due to different normals. Inverting them solves the problem of one of the groups working the same way. | Before | After | | -- | -- | | ![image](/attachments/c512e6c4-ecc7-4e76-8c86-9b972c15c72e) | ![image](/attachments/37b2eca9-5617-4bd6-aa2e-569754541689) | Please simplify your report. This will be a multi report if the problem is in 0652945dbda76e5ba329a7e5aee45afc0d3a83d3 ones, but the bug is also related to the Mesh Extrude node \ mesh normals. Please, parse your node trees and report any problems separately. And make a maximum of 10 nodes in the file! | | | | -- | -- | | ![image](/attachments/2004ea72-91d9-4886-9cab-8728d918d527) | ![image](/attachments/f32d8965-4acd-470d-b0c8-d61ace985d26) | | ![image](/attachments/d313f8c8-f536-4f83-9239-6cf77c56d47c) | ![image](/attachments/aa1d15ea-169b-43a8-87ea-28a0a5af6fcf) | | ![image](/attachments/9bafd912-224f-4206-9dd9-d51fa54e3fc0) | ![image](/attachments/82c9b4b2-b056-4944-ac37-d42503ac7720) | | ![image](/attachments/4bef20e6-6df9-4b57-bc8c-b05a80ec7eff) | ![image](/attachments/93964c6e-004f-4889-a63d-dd2a5e275b6d) |
Iliya Katushenock removed their assignment 2023-09-26 14:03:20 +02:00

Behavior changed in 0652945dbd

@lichtwerk I can't confirm this, undoing the changes in current main does not solve this.

> Behavior changed in 0652945dbd @lichtwerk I can't confirm this, undoing the changes in current main does not solve this.
Author

Hey everybody,

I'm sorry I didn't react earlier. Bussy with other stuff.
And sorry for this nodetree to be so difficult.
Maybe I can give it a try to simplefy it, but that won't be for this week.
If I understand it well there is a problem with the normals.
I hope I helped you anyway to make blender even more fantastic.
If I can help explaining things, just ask me, I'll check my account more often ;)

Hey everybody, I'm sorry I didn't react earlier. Bussy with other stuff. And sorry for this nodetree to be so difficult. Maybe I can give it a try to simplefy it, but that won't be for this week. If I understand it well there is a problem with the normals. I hope I helped you anyway to make blender even more fantastic. If I can help explaining things, just ask me, I'll check my account more often ;)
Author

I did some quick changes, but I can't change to much or it will effect the result.
The pic with one big node is the same as the pic with 40 nodes. Its just the first element. Each node generates an element. So now just the first one.
The second pic with the yellow and red node generates the element. The yellow one generates the heads and the red one the middle. As you can see are the heads ok, but is the middle messed up. Funny enough I can't see any changes in the red one. So I think it's the yellow one that gives wrong data to the red one.
I've tried to just delete the added nodes but it doesn't solve it.
There are also added store named attributes to the cubes ( first pic ), I didn't do this, but I think it has something to do with the extra output of a meshnode.

I did some quick changes, but I can't change to much or it will effect the result. The pic with one big node is the same as the pic with 40 nodes. Its just the first element. Each node generates an element. So now just the first one. The second pic with the yellow and red node generates the element. The yellow one generates the heads and the red one the middle. As you can see are the heads ok, but is the middle messed up. Funny enough I can't see any changes in the red one. So I think it's the yellow one that gives wrong data to the red one. I've tried to just delete the added nodes but it doesn't solve it. There are also added store named attributes to the cubes ( first pic ), I didn't do this, but I think it has something to do with the extra output of a meshnode.
Author
No description provided.
Member

I spend over an hour trying to simplify the node tree now, trying to find a fix. Unfortunately, I was not sucessfull. I mostly tried ungrouping node groups and then having the old and new Blender version side by side and using the viewer node to see where things changed.

I did find at least one index-based selection with a hard-coded index, which is highly discouraged, because many nodes are allowed to output elements in a different order between Blender versions. This is often necessary to improve performance. Unfortunately, I can't tell you where you find that specific index based selection, because I found it only after I ungrouped multiple levels of node groups (you can try to find it yourself by looking for an Index node followed by a Compare node, where the index that you compare to is some single value).

Unfortunately, all of that leads me to conclude that this issue (bug or not) is not actionable for us in this current state. It would take way to much time to dig even deeper into the node tree to understand the issue. Personally, I think it's most likely that you depended on index based selection in places where you shouldn't and that causes the difference between Blender versions.

Maybe you can use the same technique I described above to debug your node tree and to see what's the earliest point where the old and new versions differ. Then try to simplify the file as much as possible, or even better, reproduce that issue in a new file. Then you can create a new bug report.

I spend over an hour trying to simplify the node tree now, trying to find a fix. Unfortunately, I was not sucessfull. I mostly tried ungrouping node groups and then having the old and new Blender version side by side and using the viewer node to see where things changed. I did find at least one index-based selection with a hard-coded index, which is highly discouraged, because many nodes are allowed to output elements in a different order between Blender versions. This is often necessary to improve performance. Unfortunately, I can't tell you where you find that specific index based selection, because I found it only after I ungrouped multiple levels of node groups (you can try to find it yourself by looking for an `Index` node followed by a `Compare` node, where the index that you compare to is some single value). Unfortunately, all of that leads me to conclude that this issue (bug or not) is not actionable for us in this current state. It would take way to much time to dig even deeper into the node tree to understand the issue. Personally, I think it's most likely that you depended on index based selection in places where you shouldn't and that causes the difference between Blender versions. Maybe you can use the same technique I described above to debug your node tree and to see what's the earliest point where the old and new versions differ. Then try to simplify the file as much as possible, or even better, reproduce that issue in a new file. Then you can create a new bug report.
Blender Bot added
Status
Archived
and removed
Status
Confirmed
labels 2023-09-28 13:08:30 +02:00
Member

Sorry, I didnt get to my own try of reproducing in a simplified file yet (at least not to the point where it actually triggered the bug).
Will continue doing this and make a new report if I manage to do this.

Sorry, I didnt get to my own try of reproducing in a simplified file yet (at least not to the point where it actually triggered the bug). Will continue doing this and make a new report if I manage to do this.
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser Project (Legacy)
Interest
Asset System
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#112746
No description provided.