Closed rube200 closed 1 year ago
Thanks for the reports.
It looks like this is probably an ID mismatch between the client and server. I will fix that to use as
rather than cast.
Will double-check into this, but we did test horde beacons in singleplayer and multiplayer. I wonder if you have any plugins involving horde beacons? Edit: or plugins patching PlayerEquipment.use
maybe - on first glance that method should not be throwing a null reference exception? Unless there is an exception earlier in the logs? If you can attach the full log that might be helpful.
Sadly i dont have the logs, so i asked to test this again and it cant be reproduce anymore, so i didnt get what really happen.
One more thing PlayerClothing.load
have a duplicated maskState
assign and it misses glassesState
assign (it doesnt affect anything in runtime)
Okay, let me know if it happens again. Thanks for the report about the state assignment - will fix. Should run static analysis!
Exception at 3.21.13.2
[2021-04-03 12:34:02] Exception invoking SDG.Unturned.ZombieManager.ReceiveZombieSpark by client loopback:
[2021-04-03 12:34:02] Object reference not set to an instance of an object
[2021-04-03 12:34:02] at SDG.Unturned.Zombie.askSpark (UnityEngine.Vector3 target) [0x00009] in <a2d2a50f05a24137803283f0558209d7>:0
at SDG.Unturned.ZombieManager.ReceiveZombieSpark (System.Byte reference, System.UInt16 id, UnityEngine.Vector3 target) [0x0003d] in <a2d2a50f05a24137803283f0558209d7>:0
at SDG.Unturned.ZombieManager_NetMethods.ReceiveZombieSpark_Read (SDG.Unturned.ClientInvocationContext& context) [0x00023] in <a2d2a50f05a24137803283f0558209d7>:0
at SDG.Unturned.ClientMethodHandle.InvokeLoopback (SDG.NetPak.NetPakWriter writer) [0x00049] in <a2d2a50f05a24137803283f0558209d7>:0
Boss zombie sparking a flash of lightning, Server will raise this exception. It seems not my plugin's problem.
@warren39 Thanks for the report! You are right that is my bug. It should be clients-only no loopback. Will fix.
I am not sure if the following errors are related to plugin or update itself but i think it is update so i'm reporting them.
Not sure the origin of this one:
Players cant place horde beacon: