Operations that use utils objects fail when the utils collection is disabled (not properly hidden via the ND menu, but when disabled in the outliner), giving the following error
Python: Traceback (most recent call last):
File "C:\Users\sebas\AppData\Roaming\Blender Foundation\Blender\4.2\extensions\blender_org\nd\lib\base_operator.py", line 92, in modal
override_return = self.do_modal(context, event)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\sebas\AppData\Roaming\Blender Foundation\Blender\4.2\extensions\blender_org\nd\replicate\circular_array.py", line 124, in do_modal
self.finish(context)
File "C:\Users\sebas\AppData\Roaming\Blender Foundation\Blender\4.2\extensions\blender_org\nd\replicate\circular_array.py", line 349, in finish
hide_utils_collection(True)
File "C:\Users\sebas\AppData\Roaming\Blender Foundation\Blender\4.2\extensions\blender_org\nd\lib\collections.py", line 85, in hide_utils_collection
obj.hide_set(hide)
RuntimeError: Error: Object 'ND — Lattice' can't be hidden because it is not in View Layer 'ViewLayer'!
I prepared a simple blend file for reproduction too
utils_error.zip
Operations that use utils objects fail when the utils collection is disabled (not properly hidden via the ND menu, but when disabled in the outliner), giving the following error
I prepared a simple blend file for reproduction too utils_error.zip