Bolt.IProtocolToken error
255p
✭
in Photon Bolt
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
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
0
Best Answer
-
It's a unity engine issue and it's also reported already, by another one.0
Answers
-
I use unity 2018.30
-
It's a unity engine issue and it's also reported already, by another one.0