You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@ryzhovalex You can fix it by creating a file on Scripts -> Editor folder
#region
using TriInspector.Editors;
using Unity.Netcode;
using UnityEditor;
#endregion
[CustomEditor(typeof(NetworkBehaviour), true)]
public class TriNetworkBehaviorEditor : TriEditor { }
Describe the bug
For classes inherited from Unity.Netcode.NetworkBehaviour no attributes are drawn.
For other classes, even in the same assembly, even inherited from other abstract classes (which in turn are inherited from MonoBehaviour) works fine.
Maybe the error is not connected with NetworkBehaviour, or Unity did some nasty things there, or the error is mine, don't know :)
Expected behavior
Drawn attributes, as usual.
Code Sample
Screenshots
![image](https://private-user-images.githubusercontent.com/72242438/296498997-8f0e108a-19e7-41e3-b7fd-f3481cde9c21.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzNjAzNjUsIm5iZiI6MTczOTM2MDA2NSwicGF0aCI6Ii83MjI0MjQzOC8yOTY0OTg5OTctOGYwZTEwOGEtMTllNy00MWUzLWI3ZmQtZjM0ODFjZGU5YzIxLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEyVDExMzQyNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWMwOGIxNzgzNGVmZjFiZmE0ZmRhMGE0N2Q2ZWVkMzRlMDQ3ZjEzYWI5MmViZjc0MmMzODBjMDE0ZDc5Y2JjMTImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.u6hfCCgU-y9r9XxwUSOumgSbxgdAECrE2B3XkkAAOHU)
Desktop: Windows 11
Unity version: 2023.2.4f1
Tri Inspector version: 1.13.2
The text was updated successfully, but these errors were encountered: