Page MenuHome

Object Info node not update if delete object from viewport
Confirmed, NormalPublicBUG

Description

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

Blender Version
Broken: version: 2.93.0 Alpha, branch: master, commit date: 2021-03-11 03:10, hash: rB85623f6a5590
Worked: (newest version of Blender that worked as expected)

Short description of error
If you delete an object selected in the Object Info node, the object remains selected in the node

Exact steps for others to reproduce the error
Delete object from viewport selected in the Object Info node. Object Info node not update socket

Note that if you delete it from the outliner things work. The issue is when the object is deleted from the viewport.

Original file
This file doesn't help because the object was already deleted from it:

Event Timeline

Falk David (filedescriptor) changed the task status from Needs Triage to Confirmed.Mar 12 2021, 10:31 AM

I can reproduce this on the latest 2.93.0 Alpha, branch: master, commit date: 2021-03-12 05:13, hash: rBa5c44265a336. Note that it works correctly if the object is deleted from the outliner. If I delete the object from the viewport, the modifier does not update the dependency.

The test file already deleted the object, so here is a file that still has the object marked as DELETE_ME.

Dalai Felinto (dfelinto) changed the subtype of this task from "Report" to "Bug".Mar 25 2021, 11:38 AM
Dalai Felinto (dfelinto) edited projects, added Nodes & Physics; removed Modifiers.

Can confirm.

@Falk David (filedescriptor) I did this for this file already. But for future reports please remember to update the task with the file that needs to be used to reproduce the issue. See https://wiki.blender.org/wiki/Process/A_Bugs_Life

Also the top-modules are supposed to be tagged otherwise this report doesn't show up in the module (Nodes & Physics) query.

Also, for the records, this happens even if the object is not exposed to the modifier stack. To test this remove the Node Group Input and set the object in the Object Info node to be the DELETE_ME.