thmsndk/Screeps3D

NullReferenceException with RoadNetworkView

Opened this issue · 1 comments

Got a 502 from official servers, reconnected and the log was spammed with this error

NullReferenceException
at (wrapper managed-to-native) UnityEngine.Component.get_gameObject(UnityEngine.Component)
at Screeps3D.Rooms.Views.RoadNetworkView.AssignRoad (System.Int32 x, System.Int32 y) [0x00001] in C:\Projects\Screeps3D\Assets\Scripts\Screeps3D\Rooms\Views\RoadNetworkView.cs:43
at Screeps3D.Rooms.Views.RoadNetworkView+<>c__DisplayClass5_0.b__0 () [0x00000] in C:\Projects\Screeps3D\Assets\Scripts\Screeps3D\Rooms\Views\RoadNetworkView.cs:35
at Common.Scheduler.Update () [0x0002c] in C:\Projects\Screeps3D\Assets\Scripts\Common\Scheduler.cs:35

Also getting the same error.