Page MenuHome

Erro in get_type_hints when registering text as module
Confirmed, NormalPublic

Description

System Information
Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: Intel(R) Iris(R) Plus Graphics Intel 4.5.0 - Build 27.20.100.8681

Blender Version
Broken: version: 2.93.0, branch: master, commit date: 2021-06-02 11:21, hash: rB84da05a8b806
Worked: 2.92

Short description of error
When using the as_module function on a script and running register blender throws an error:

Exact steps for others to reproduce the error


Run the two commands specified in the text file to get the module and register it. I modified the Simple Operator template to make it as simple as possible.

This worked for me in 2.92 for registering and unregistering generated addons dynamically. While it still seems to register in 2.93 operators throw this error. They do appear to be registered when you use them in buttons for example but the property ('test' in the example file) isn't found.

Event Timeline

Richard Antalik (ISS) changed the task status from Needs Triage to Confirmed.Wed, Jun 9, 11:31 AM