Quenty/NevermoreEngine

Modules are randomly not recognised on the client in 'deferred' signal mode

OttoHatt opened this issue · 1 comments

In studio/accurate play solo some modules are randomly not registered on the client by Nevermore's loader. It seems to happen randomly, and only in deferred signal mode.

image
image

Which modules aren't recognised is totally random, and can affect Client + Shared modules. It seems like deferred mode has some impact on instance replication? Children are no longer replicated at the exact same time as _replicationFolder, so it doesn't ever get cached?

I think this can be fixed by adding .DescendantAdded in the right place?

Repro:

  • Press F5 / Play in studio.
  • Check for missing modules in the console.
  • Repeatedly play+stop the game until an error appears. For me, it appears around 40% of the time.

Definitely a known bug, going to try to ensure that the new module loader handles this appropriately.