Closed ChrisNZL closed 2 years ago
I hope fixing Online Co-op / Keys: Extra key spawned client-side, but not interactable #681 has resolved this issue.
Will re-open if it still occurs.
Re-opening. Still some null ref reports coming in in v0.3.1a. Mainly from online co-op, but couch co-op too.
T2.DungeonRoom.Update
-- going to break this method down into smaller parts for better logging.
Suspect this is an issue with Gibs or DungeonRoomObjects, but better logging will help tell.
Have had a couple auto report null refs for the newly-added Decal.ParentOntoDungeonRoomObject
method (which should be fixed now), but makes me think a DungeonRoomObject is not being saved or spawned correctly during room load.
0.3.2: Adding a lot of debug logging and assertion checking within:
NetIDDatabase
Insert
methodscurrentNetIDs
, and checking if NetID keys exist in the various NetID + NetworkedTallowClass Dictionaries, in case I've slipped up somewhere – warns if NetID is already used, and detailed info about what NetworkedTallowClass is using the NetIDNetIDType.Master
to anything if playing online – always has to be received by the serverDungeonRoom.Update
Hope this all helps figure out where the root of these errors are.
With v0.3 and v0.3.0a, despite having added measures to try and counter uncommon issues of data-loading sometimes failing when loading rooms, there are still errors happening sometimes.
Example feedback ID: 20211226-F24JG
Typical client logs show:
Proposed tasks:
[x] Fix Online Co-op / Keys: Extra key spawned client-side, but not interactable #681 because I imagine netIDs are in use and not being inserted/synced on client correctly
[ ] Break down
DungeonRoom.Update
into smaller methods for better debug logging