System Information
Operating system: Windows-10-10.0.18362-SP0 64 Bits
Graphics card: GeForce GTX 1060/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 456.38
Blender Version
Broken: version: 2.93.0 Alpha, branch: master, commit date: 2021-02-23 11:07, hash: rB420f538fadfd
Worked: version: 2.92.0 Beta, branch: master, commit date: 2021-02-03 20:05, hash: rBebd2aa789e40
Short description of error
Console throws error when trying to edit a Custom Property.
Python: Traceback (most recent call last):
File "D:\**\blender-2.93.0-420f538fadfd-windows64\2.93\scripts\startup\bl_operators\wm.py", line 1428, in invoke
self._init_subtype(prop_type, is_array, subtype)
File "D:\**\blender-2.93.0-420f538fadfd-windows64\2.93\scripts\startup\bl_operators\wm.py", line 1237, in _init_subtype
self.subtype = subtype
File "D:\**\blender-2.93.0-420f538fadfd-windows64\2.93\scripts\modules\bpy_types.py", line 727, in __setattr__
return setattr(properties, attr, value)
TypeError: bpy_struct: item.attr = val: enum "NONE" not found in ('All', 'User', '3D View', 'Add Curve', 'Add Mesh', 'Animation', 'Camera', 'Development', 'Import-Export', 'Interface', 'Lighting', 'Material', 'Mesh', 'Node', 'Object', 'Paint', 'Render', 'Rigging', 'Sequencer', 'System', 'Tools', 'UV', 'Video Tools')
location: <unknown location>:-1Exact steps for others to reproduce the error
Add a Mesh Object
Add a Custom Property to the object
Click on the Edit Button on the right of the property field
Throws error (no crash though)
More Information
There is a confusion between the expected Property SUBTYPE Enum and the Addon Category Enum, since the list in the error is the add-on categories.
The error also occurs when trying to edit a property created with the Python API.