Issue with PropertyDrawers on classes generated using TypeBuilder

I’ve been using TypeBuilder to build some MonoBehaviours at runtime, but their inspectors are showing only the most basic version of the inspector. PropertyDrawers and tools like OdinInspector attributes don’t seem to be working.

Does anyone know if there’s a way to get Unity to recognize these new classes and get them to render inspectors properly?

As another note, it also seems as though the components created this way are not being managed, my profiler says I get an extra object every time I create one of them and put them on a gameobject, but when I destroy the gameobject they don’t go away.