serializereferenceeditor icon indicating copy to clipboard operation
serializereferenceeditor copied to clipboard

SREditor offers classes that are not available for creation

Open Red-Cat-Fat opened this issue 1 year ago • 0 comments

During the development process, I noticed that SREditor may suggest creating classes that are not available. For example, configs, if they are present in the hierarchy.

InvalidOperationException: Cannot assign an object deriving from UnityEngine.Object to a managed reference. This is not supported.

I think I'll be able to do it next week. I think we should finalize the check by covering it with tests, since this problem may have surfaced after switching to a new visualizer.

Red-Cat-Fat avatar Jul 26 '24 12:07 Red-Cat-Fat