Page MenuHome

Nodegroup user count increased when file saved in edit group mode
Closed, ResolvedPublicBUG

Description

System Information
Operating system: Windows-8.1-6.3.9600-SP0 64 Bits
Graphics card: GeForce GTX 860M/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 445.75

Blender Version
Broken: version: 2.83 (sub 13), branch: master, commit date: 2020-04-11 15:16, hash: rB85de07e64c96
Worked: (newest version of Blender that worked as expected)

Short description of error
If you close a file with a node group being edited, the usercount gets messy.

Exact steps for others to reproduce the error

  1. On the default blender file go to Shading workspace
  2. Select Principled BSDF and create group (Ctrl G)
  3. Save file
  4. Close file
  5. Open file

or

  1. Open attached file

Finally, exit the group.
You see the nodegroup user count is 2 instead of 1

thank!

Event Timeline

Same issue with blender 2.82 and 2.79.

A fix was recently committed in this area.
Maybe this is a remnant of an old file with the problem?
Anyway there should be a way to remap the users.

@Bastien Montagne (mont29), I don't know how to debug usercount. Is there really a bug here?

Germano Cavalcante (mano-wii) changed the task status from Needs Triage to Confirmed.Apr 15 2020, 9:44 PM
Germano Cavalcante (mano-wii) updated the task description. (Show Details)
Germano Cavalcante (mano-wii) changed the subtype of this task from "Report" to "Bug".

After rereading the "short" description I realized that the problem is reproducible in any file. So it's a bug.

sigh... So basically node editor is completely schizophrenic, some part of it consider itself a real ID user, others just a 'user one' one...

Luckily this does not seem to hard to fix, although it may be difficult to ensure all cases are now properly handled, but this we can easily iterate-fix if needed.