Bolt.IProtocolToken error

Hello,

i received the following error here from unity : " deadBodyTokens' is missing the class attribute 'ExtensionOfNativeClass"

The short script :

using System.Collections;
using System.Collections.Generic;
using UnityEngine;


public class deadBodyTokens : Bolt.IProtocolToken
{
public int Gore_ID;


public void Write(UdpKit.UdpPacket packet)
{

packet.WriteInt(Gore_ID);

}
public void Read(UdpKit.UdpPacket packet)
{
Gore_ID = packet.ReadInt();
}


}

Thanks in forward :smile:

Best Answer

  • 255p
    255p
    Answer ✓
    It's a unity engine issue and it's also reported already, by another one.

Answers