Raising event on object which is not recognized by replication

Thraxus shared this bug 2 years ago
Outdated

This bug is being posted per request of [SE] Inflex

I'm not 100% sure what is causing this issue, but I have a crash log below that contains some ~20k lines of:

2019-02-02 02:48:07.585 - Thread: 1 -> Raising event on object which is not recognized by replication: MyRemoteControl {1C4A33635EA5BE7} Remote Control

Occasionally the same error crops up with a whole grid (the last few lines before the crash show this).

I'd like to know if you can tell me what's causing the issue.

Do note this is a heavily modded world. It, along with the crash log are provided as attachments.

Additionally, the game seems to be suffering from a complete lock up every few minutes. As of this post, I haven't been able to narrow down the cause of that either.

Any help you can provide would be greatly appreciated; especially if any of these issues is coming from EEM or AwwScrap, as I am the maintainer of those mods.

Comments (2)

photo
1

Hello, Engineer!


Thank you for your feedback! Your topic has been added between considered issues.

Please keep voting for the issue as it will help us to identify the most serious bugs.


We really appreciate your patience.


Kind Regards

Keen Software House: QA Department

photo
1

So for any other mod authors that come across this one.

I had this issue as well on the NPC Crew mod specifically on a Dedicated Server setup.

It either had something related to not syncing a boolean I used for simple debugging (no in game use) from server <> client properly or animating subparts on both client <> server at the same time using matrix translations.


It was fixed by doing some simple checks in the Update method like this: -


if (MyAPIGateway.Session.IsServer || npcCrewBlock.CubeGrid.Projector() != null || npcCrewBlock == null ||

npcCrewBlock.Render == null || !npcCrewBlock.InScene || npcCrewBlock.MarkedForClose)

return;