'Networking.NetworkSpawnerModel' is missing the class attribute

I'm receiving the following exception after compile:

'Networking.NetworkSpawnerModel' is missing the class attribute 'ExtensionOfNativeClass'!
[RealtimeModel]
    public partial class NetworkSpawnerModel
    {
        [RealtimeProperty(1, true, true)]
        private bool _active;
    }

    public class NetworkSpawner : RealtimeComponent<NetworkSpawnerModel> 

...


is there a way to get rid of this error?
Was this page helpful?