diff --git a/Assets/Mirror/Core/Attributes.cs b/Assets/Mirror/Core/Attributes.cs
index a76adc6ac..8f74604d8 100644
--- a/Assets/Mirror/Core/Attributes.cs
+++ b/Assets/Mirror/Core/Attributes.cs
@@ -90,7 +90,7 @@ public class ShowInInspectorAttribute : Attribute {}
///
/// Used to make a field readonly in the inspector
///
- [AttributeUsage(AttributeTargets.Field)]
+ [AttributeUsage(AttributeTargets.Field | AttributeTargets.Property)]
public class ReadOnlyAttribute : PropertyAttribute {}
///