Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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?) #22

Open
laurentopia opened this issue Apr 4, 2021 · 2 comments

Comments

@laurentopia
Copy link

this happens when compiling to IL2CPP in .net 4 mode

@fangjunzhou
Copy link

having the same problem

@fangjunzhou
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants