System Information
Operating system: Linux-5.11.0-38-generic-x86_64-with-glibc2.33 64 Bits
Graphics card: NVIDIA GeForce RTX 2070 SUPER/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 470.74
Blender Version
Broken: version: 3.0.0 Beta, branch: master, commit date: 2021-11-02 22:38, hash: rB11392829adfe
Worked: (newest version of Blender that worked as expected)
Short description of error
Blender can't find a property created by a script
Exact steps for others to reproduce the error
In the attached file, run the scriptbug file text
it shows this error:
AttributeError: 'Scene' object has no attribute 'current_iteration'
despite the property has been created by:
def register():
bpy.types.Scene.current_iteration = bpy.props.IntProperty(
name= 'current_iteration',
default = 1,
update = set_max_iteration,
)