-
Notifications
You must be signed in to change notification settings - Fork 68
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
The inspector attributes are not working at all in the inspector. I tried [TabGroup], [Group], [Button], [Required], and some others and I ensured they are exactly the correct syntax from the samples in Tools -> Tri Inspector -> Samples.
Expected behavior
Attributes should be drawn properly in the editor.
Code Sample
using TriInspector;
using UnityEditor;
using UnityEngine;
using UnityEngine.InputSystem;
public class MasterReferences : MonoBehaviour
{
public static MasterReferences Instance;
[Required(Message = "PlayerManager is not assigned.")] public PlayerManager PlayerManager;
[Required(Message = "InputAction is not assigned.")] public InputActionAsset InputAction;
[Button]
private void Test()
{
Debug.Log("test");
}
}
Screenshot using the same code as posted above. Tried everything from reimporting/reinstalling fresh, making an empty project with nothing else installed and it is still not working.
Desktop: Windows 11
Unity version: 6000.2.6f2
Tri Inspector version: 1.15.1
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working