Hi! I recently tested my project over the network (I hadn’t tested it over network in a little while, but not done anything that would interfere with clientside stuff) and suddenly found some serious problems.
First, there’s extreme jittery-ness with physics objects as they are moved about that wasn’t there before. It may be a problem in 4.9, since I didn’t do a lot of network testing in 4.9 yet, this problem certainly wasn’t happening in 4.8 but I’m not sure if it’s the version or something else.
On top of that, my game crashes instantly when I try to perform certain actions that didn’t have problems before (namely, “chopping in half” my log object and having it spawn a new one) and gives this error message:
Unknown exception - code 00000001 (first/second chance not available)
"Assertion failed: (Index >= 0) & (Index < ArrayNum) [File:D:\BuildFarm\buildmachine_++depot+UE4-Releases+4.9\Engine\Source\Runtime\Core\Public\Containers\Array.h] [Line: 678]
Array index out
UE4Editor_Engine!TBaseUObjectMethodDelegateInstance<0,UNetDriver,void cdecl(float)>::ExecuteIfSafe() [d:\buildfarm\buildmachine++depot+ue4-releases+4.9\engine\source\runtime\core\public\delegates\delegateinstancesimpl_variadics.inl:772]
There’s a lot of weirdness to this. First off, the folder that it references (D:\BuildFarm) I can’t find at all on my drive, in fact my D drive’s UE4 folder is totally empty (I have my stuff on my F drive, though at one point something was on D)
The other strange thing is I looked up the crash and only found two other posts with this crash.
Both of which were all about lighting issues causing crashes. However, the top one for example has the exact same assertion failed statement, same folder, same line (678), as my crash. But my crash has nothing to do with lighting, as far as I know - my world has a day/night cycle so I don’t use static lighting and I never build lighting. And it’s really weird because it only occurs in multiplayer or when I use the dedicated server option, otherwise it works fine. The proposed solutions that seemed to have worked for the other posters involved clearing the SwarmAgent cache, but I don’t know how to do that - I followed the same path as what they showed on the A new, community-hosted Unreal Engine Wiki - Announcements - Unreal Engine Forums page, but the cache file just isn’t there. I’m still doubtful that it’s even the issue at hand, but I would like to be able to clear the cache just in case.
I’m going to sleep now so I’ll do some further investigation of the issue tomorrow, but this is all a little bizarre, considering it’s not just the crash that’s the problem but also the jittery laggy physics objects and possibly more issues I haven’t tested yet. If anyone knows how to clear the cache or has advice as to what might be able to stop this from happening, that would be very helpful.