Unity-SerializableDictionary icon indicating copy to clipboard operation
Unity-SerializableDictionary copied to clipboard

Assets\Scripts\Plugins\Utilities\SerializableDictionary (azix)\Editor\SerializableDictionaryPropertyDrawer.cs(12,53): error CS0246: The type or namespace name 'PropertyDrawer' could not be found (are you missing a using directive or an assembly reference?)

Open laurentopia opened this issue 4 years ago • 2 comments

this happens when compiling to IL2CPP in .net 4 mode

laurentopia avatar Apr 04 '21 08:04 laurentopia

having the same problem

fangjunzhou avatar Jul 14 '21 16:07 fangjunzhou

this happens when compiling to IL2CPP in .net 4 mode

Hello, I've just found the solution to this problem. Since most of my project make use of Unity Package Manager, I made a Unity Package of this repository manually. However, the asmdef file I wrote is wrong. The asmdef should target at editor platform. Since the Unity build version should not include any editor scripts. If you are using asmdef, you should also do this. Or you should add #if UNITY_EDITOR

fangjunzhou avatar Jul 14 '21 17:07 fangjunzhou