Skip to content

Runtime sets don't support non-unity type objects #7

New issue

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

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

Already on GitHub? # to your account

Closed
DanielEverland opened this issue Oct 24, 2018 · 0 comments
Closed

Runtime sets don't support non-unity type objects #7

DanielEverland opened this issue Oct 24, 2018 · 0 comments
Labels
bug Something isn't working
Milestone

Comments

@DanielEverland
Copy link
Owner

DanielEverland commented Oct 24, 2018

Exceptions are thrown when trying to draw reorderable list

type is not a supported pptr value
UnityEditor.SerializedProperty:get_objectReferenceValue(SerializedProperty)
RuntimeSetEditor:DrawElement(Rect, Int32, Boolean, Boolean) (at Assets/SO Architecture/Editor/Inspectors/RuntimeSetEditor.cs:44)
UnityEditorInternal.ReorderableList:DoListElements(Rect) (at C:/buildslave/unity/build/Editor/Mono/GUI/ReorderableList.cs:587)
UnityEditorInternal.ReorderableList:DoLayoutList() (at C:/buildslave/unity/build/Editor/Mono/GUI/ReorderableList.cs:394)
RuntimeSetEditor:OnInspectorGUI() (at Assets/SO Architecture/Editor/Inspectors/RuntimeSetEditor.cs:30)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

Should use property drawer if available or display text stating rendering is not supported

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant