Hello,
I have this weird bug that happening again on my server. It happens only when I had a Military Base on my map (with MLRS).
After a restart of my server, when fully rebooted I noticed my console being flood with this error (or warning) message:
Server Exception: Mountable Cycle
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 39)
NullReferenceException: Object reference not set to an instance of an object
at MLRS.TryGetAimingModule (Item& item) [0x00006] in <8d2b90ef026a4e9ab11aa89cffe712be>:0
at MLRS.VehicleFixedUpdate () [0x00044] in <8d2b90ef026a4e9ab11aa89cffe712be>:0
at BaseMountable.FixedUpdateCycle () [0x00039] in <8d2b90ef026a4e9ab11aa89cffe712be>:0
at ServerMgr.FixedUpdate () [0x00018] in <8d2b90ef026a4e9ab11aa89cffe712be>:0
UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:LogException(Exception, Object)
ServerMgr:FixedUpdate()
(Filename: <8d2b90ef026a4e9ab11aa89cffe712be> Line: 0)
The 1st time I had this issue was on my local test server, which I quickly fixed with a workaround (deleting the MLRS, and spawn a new one...) but doing so mess up with the monument after a reboot. (buildings and NPC didn't spawn anymore). It was on my local server for test so I didn't pay much attention, but now it is happening on my prod server.
It spam so much errors that it is impossible to connect on it, and therefore to apply any workaround in game.
Is there any know issue about MLRS or compatibility with a plugin? Am I alone?
When this bug happened on my local server, even restarting the server without any plugins would cause the same issue.
Is there anybody that can help on this matter please?
So far the only fix I know, and it is a temp one, is to wipe...
Thank you.
Edit:
After few reboots and tentatives, I was able to connect on the server.
I'm now in-game; I see that all players buildings has disappeared, and trees not at the same place... like a map wipe. Can it have a link between the save and quit command being executed manualy without giving enought time to "save" to execute? Sound weird but I see nothing else that I have done to cause this stat.
Edit2:
After searching in the logs, I also found this error that never came before this issue. (it spam 9k lines in my logs, with different stream position)
Skipping entity since it could not be deserialized - stream position: 4481 size: 478
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 39)
NotImplementedException: Unknown wire type: 7
at SilentOrbit.ProtocolBuffers.ProtocolParser.SkipKey (System.IO.Stream stream, SilentOrbit.ProtocolBuffers.Key key) [0x0006b] in <900bd4dd56324018986e258b1d72bc05>:0
at ProtoBuf.IOEntity.DeserializeLengthDelimited (System.IO.Stream stream, ProtoBuf.IOEntity instance, System.Boolean isDelta) [0x001ab] in <900bd4dd56324018986e258b1d72bc05>:0
at ProtoBuf.IOEntity.DeserializeLengthDelimited (System.IO.Stream stream) [0x00006] in <900bd4dd56324018986e258b1d72bc05>:0
at ProtoBuf.Entity.DeserializeLength (System.IO.Stream stream, System.Int32 length, ProtoBuf.Entity instance, System.Boolean isDelta) [0x00b91] in <900bd4dd56324018986e258b1d72bc05>:0
at ProtoBuf.Entity.DeserializeLength (System.IO.Stream stream, System.Int32 length) [0x00006] in <900bd4dd56324018986e258b1d72bc05>:0
at SaveRestore.Load (System.String strFilename, System.Boolean allowOutOfDateSaves) [0x0018d] in <8d2b90ef026a4e9ab11aa89cffe712be>:0
UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:LogException(Exception)
SaveRestore:Load(String, Boolean)
ServerMgr:Initialize(Boolean, String, Boolean, Boolean)
<StartServer>d__19:MoveNext()
UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)
(Filename: <900bd4dd56324018986e258b1d72bc05> Line: 0)
This error happened after
AIInformationZone performing complete refresh, please wait...
Map Spawned 1827 entities
Destroying 2005 old entities
1264 / 2005
Calling kill - but already IsDestroyed!? vending_mapmarker[0]followed by
Failed to create agent because there is no valid NavMesh
Missing RelationshipManager - creating
Navmesh Source Collecting took 216.73 seconds
Starting Monument Navmesh Build with 704 sources
RuntimeNavMeshBuilder: Source mesh structure_bottom_COL is skipped because it does not allow read accessAfter that it seems pretty normal.
For my perspective, it looks like my map sav files is corrupted. So, is it really related to the save command?
I don't have much hope, but if the proceduralmap.sav is corrupted, is there any way to restore that ? because I did some reboots, so I'm not sure I will be able to recover a good backup, and I still not scheduled a server backup... (will do this from now )