Skip to content

Bad compatibility with OdinInspector. Some attributes not working with Odin. #187

@Watcher3056

Description

@Watcher3056

Describe the bug
I encountered several issues while using TriInspector.
Some attributes seems to not work at all and some other stop to work when I import OdinInspector to the project.

  • For example if you apply InlineEditor to serialized class and create field with type of that class it will simply not render as Inline.
  • Another example with ShowInInspector attribute, which is stop to work when you import OdinInspector to project.
  • Some attributes works only with fields/properties but not working with classes, for example BoxGroup attribute, which works with classes as well in OdinInspector, but not in TriInspector

Expected behavior

  • InlineEditor should render property as inline when applied to serialized class(not a field)
  • ShowInInspector should render property even if it's private and non-serialized, when OdinInspector is imported to project
  • BoxGroup and similar attributes should work with classes and not only with fields/properties(please)

Code Sample
[ShowInInspector]
private UnityEngine.Object _EditorValue
{
get { return _object; }
set { EditorSetValue(value); }
}
Not working with OdinInspector in the project.

Screenshots

Desktop: Arch Linux
Unity version: 2021.3.38f1
Tri Inspector version: 1.14.1
OdinInspector version: 3.3.1.11

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions