Blueprint Share causing crashesFixed

Some players have complained that they crash after joining clans from time to time, and I tested it a few times and I had this happen twice after joining a clan:

 

Failed to execute OnFrame callback (Object reference not set to an instance of an object)
at void SilentOrbit.ProtocolBuffers.ProtocolParser.WriteSingle(Stream stream, float f)
at void UnityEngine.Vector3Serialized.Serialize(Stream stream, Vector3 instance)
at void ProtoBuf.BaseEntity.Serialize(Stream stream, BaseEntity instance)
at void ProtoBuf.Entity.Serialize(Stream stream, Entity instance)
at void ProtoBuf.Entity.ToProto(Stream stream)
at void BaseNetworkable.ToStreamForNetwork(Stream stream, SaveInfo saveInfo)
at void BaseNetworkable.SendAsSnapshot(Connection connection, bool justCreated)
at void BaseNetworkable.SendNetworkUpdateImmediate(bool justCreated)
at int Oxide.Plugins.BlueprintShare.UnlockBlueprints(BasePlayer player, BasePlayer sharer, List<int> blueprints) in /home/container/carbon/plugins/BlueprintShare.cs:line 433
at void Oxide.Plugins.BlueprintShare.ShareWithPlayer(BasePlayer player, BasePlayer target) in /home/container/carbon/plugins/BlueprintShare.cs:line 496
at void Oxide.Plugins.BlueprintShare.OnTeamAcceptInvite(PlayerTeam team, BasePlayer player)+(BasePlayer teamMember) => { } [1] in /home/container/carbon/plugins/BlueprintShare.cs:line 125
at void UnityEngine.Parallel.ForEach<T>(IList<T> data, int threads, Action<T> action)+(int i) => { }
at void UnityEngine.Parallel.For(int fromInclusive, int toExclusive, int threads, Action<int> action)+(int thread_id) => { }
at void UnityEngine.Parallel.For(int fromInclusive, int toExclusive, int threads, Action<int> action)
at void UnityEngine.Parallel.ForEach<BasePlayer>(IList<BasePlayer> data, int threads, Action<BasePlayer> action) x 2
at void Oxide.Plugins.BlueprintShare.OnTeamAcceptInvite(PlayerTeam team, BasePlayer player)+() => { } [0] in /home/container/carbon/plugins/BlueprintShare.cs:line 123
at void Carbon.Managers.CarbonProcessor.Update() in /home/runner/work/Carbon/Carbon/Carbon.Core/Carbon/src/Processors/CarbonProcessor.cs:line 70

 

Is this because I'm using carbon or a genuine issue?

Which version of the plugin are you using?

NomadWarrior

Which version of the plugin are you using?

1.3.9 using clans reborn
Locked automatically