Server encountered an exception: Exception: NullReferenceException Message:Object reference not set to an instance of an object. Source:Eco.Gameplay System.NullReferenceException: Object reference not set to an instance of an object. at Eco.Gameplay.Civics.IfThenBlock.TryPerform(Law law, GameAction action, LawSection section, Int32 index, StringBuilder sbDebug) at Eco.Gameplay.Civics.Laws.LawSection.CheckConditionsAndApplyEffects(Law law, GameAction action) at Eco.Gameplay.Civics.Laws.LawSection.Perform(Law law, GameAction action) at Eco.Gameplay.Civics.Laws.Law.Perform(GameAction action) at Eco.Gameplay.Civics.Laws.LawManager.Perform(GameAction action) at Eco.Gameplay.GameActions.GameActionManager.TryPerformActions(User user, List`1 actions, IEnumerable`1 preTests, IEnumerable`1 postEffects) at Eco.Gameplay.GameActions.GameActionManager.TryPerformActions(User user, GameActionPack actionPack, Boolean notify) at Eco.Gameplay.Animals.AnimalEntity.TryApplyDamage(INetObject damager, Single damage, InteractionContext context, Item tool, Type damageDealer) at Eco.Mods.TechTree.ArrowEntity.Hit(NetObjAttachInfo hitAttachInfo, Vector3 position, String location) in C:\Program Files (x86)\Steam\steamapps\common\Eco Server\Mods\Tools\BowItem.cs:line 118 Log File: PlayerConnection initialized from C:/Program Files (x86)/Steam/steamapps/common/Eco/Eco_Data (debug = 0) PlayerConnection initialized network socket : 0.0.0.0 55401 Multi-casting "[IP] 192.168.0.15 [Port] 55401 [Flags] 2 [Guid] 1629916114 [EditorId] 3644124204 [Version] 1048832 [Id] WindowsPlayer(DESKTOP-MAN3963) [Debug] 0 [PackageName] WindowsPlayer [ProjectName] Eco" to [225.0.0.222:54997]... Started listening to [0.0.0.0:55401] PlayerConnection already initialized - listening to [0.0.0.0:55401] Initialize engine version: 2019.4.1f1 (e6c045e14e4e) [Subsystems] Discovering subsystems at path C:/Program Files (x86)/Steam/steamapps/common/Eco/Eco_Data/UnitySubsystems GfxDevice: creating device client; threaded=1 Direct3D: Version: Direct3D 11.0 [level 11.1] Renderer: NVIDIA GeForce RTX 2060 (ID=0x1f08) Vendor: VRAM: 5980 MB Driver: 27.21.14.5167 D3D11 device created for Microsoft Media Foundation video decoding. Initializing input. Input initialized. Initialized touch support. UnloadTime: 0.446300 ms DontDestroyOnLoad only works for root GameObjects or components on root GameObjects. (Filename: C:\buildslave\unity\build\Runtime/SceneManager/SceneManager.cpp Line: 582) WwiseUnity: Wwise(R) SDK Version 2019.2.5 Build 7349. UnityEngine.Logger:LogFormat(LogType, String, Object[]) UnityEngine.Debug:LogFormat(String, Object[]) AkWwiseInitializationSettings:InitializeSoundEngine() AkInitializer:OnEnable() (Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35) WwiseUnity: Setting Plugin DLL path to: C:/Program Files (x86)/Steam/steamapps/common/Eco/Eco_Data\Plugins\x86_64 UnityEngine.Logger:Log(LogType, Object) UnityEngine.Debug:Log(Object) AkCommonPlatformSettings:get_AkInitializationSettings() AkWwiseInitializationSettings:InitializeSoundEngine() AkInitializer:OnEnable() (Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35) WwiseUnity: Sound engine initialized successfully. UnityEngine.Logger:Log(LogType, Object) UnityEngine.Debug:Log(Object) AkWwiseInitializationSettings:InitializeSoundEngine() AkInitializer:OnEnable() (Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35) The referenced script on this Behaviour (Game Object 'Camera') is missing! (Filename: C:\buildslave\unity\build\Runtime/Mono/ManagedMonoBehaviourRef.cpp Line: 334) The referenced script on this Behaviour (Game Object 'Table') is missing! (Filename: C:\buildslave\unity\build\Runtime/Mono/ManagedMonoBehaviourRef.cpp Line: 334) DontDestroyOnLoad only works for root GameObjects or components on root GameObjects. SteamManager:Awake() [C:\buildslave\unity\build\Runtime/SceneManager/SceneManager.cpp line 582] (Filename: C:\buildslave\unity\build\Runtime/SceneManager/SceneManager.cpp Line: 582) Ambiguous UI component types ignored: SeriesPopupUI,BaseUI,ViewEditorUI UnityEngine.Logger:Log(LogType, Object) UnityEngine.Debug:Log(Object) UI.UIManager:Start() (Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35) [01:45:35.705] Nat punch received from 192.168.0.15:4000 with token = 52f2b77c-8905-4b0e-b34a-a647b6fa0fe6 EcoEngine.Logging.LogManager:LogFormat(LogType, Object, String, Object[]) UnityEngine.Logger:Log(LogType, Object) UnityEngine.Debug:Log(Object) Eco.Shared.Utils.Log:Debug(String, Object[]) Eco.Shared.Networking.NetworkClient:HandleCompleteUnconnectedDataMessage(UdpDataMessage&) Eco.Shared.Networking.NetworkClient:HandleUnconnectedDataMessage(UdpDataMessage&) Mono.Unity.unitytls_tlsctx_free_t:Invoke(unitytls_tlsctx*) Eco.Networking.ENet.ENetUdpPeer:OnRawDataReceived(IntPtr, IntPtr, UInt32, Boolean&) ENet.RawDataReceivedHandler:Invoke(IntPtr, IntPtr, UInt32, Boolean&) ENet.Host:HandleIntercept(IntPtr, IntPtr) ENet.Host:Service(Int32, Event&) Eco.Networking.ENet.ENetUdpPeer:Service(Int32) <>c__DisplayClass59_0:b__0() Steamworks.RulesRefreshComplete:Invoke() System.Action`1:Invoke(T) System.Threading.ExecutionContext:RunInternal(ExecutionContext, ContextCallback, Object, Boolean) System.Threading.ExecutionContext:Run(ExecutionContext, ContextCallback, Object) Steamworks.RulesRefreshComplete:Invoke() (Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35) [01:45:35.706] Nat introduction received with token = 52f2b77c-8905-4b0e-b34a-a647b6fa0fe6 EcoEngine.Logging.LogManager:LogFormat(LogType, Object, String, Object[]) UnityEngine.Logger:Log(LogType, Object) UnityEngine.Debug:Log(Object) Eco.Shared.Utils.Log:Debug(String, Object[]) Eco.Shared.Networking.NetworkClient:HandleCompleteUnconnectedDataMessage(UdpDataMessage&) Eco.Shared.Networking.NetworkClient:HandleUnconnectedDataMessage(UdpDataMessage&) Mono.Unity.unitytls_tlsctx_free_t:Invoke(unitytls_tlsctx*) Eco.Networking.ENet.ENetUdpPeer:OnRawDataReceived(IntPtr, IntPtr, UInt32, Boolean&) ENet.RawDataReceivedHandler:Invoke(IntPtr, IntPtr, UInt32, Boolean&) ENet.Host:HandleIntercept(IntPtr, IntPtr) ENet.Host:Service(Int32, Event&) Eco.Networking.ENet.ENetUdpPeer:Service(Int32) <>c__DisplayClass59_0:b__0() Steamworks.RulesRefreshComplete:Invoke() System.Action`1:Invoke(T) System.Threading.ExecutionContext:RunInternal(ExecutionContext, ContextCallback, Object, Boolean) System.Threading.ExecutionContext:Run(ExecutionContext, ContextCallback, Object) Steamworks.RulesRefreshComplete:Invoke() (Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35) [01:45:35.707] Connecting to 192.168.0.15:4000... EcoEngine.Logging.LogManager:LogFormat(LogType, Object, String, Object[]) UnityEngine.Logger:Log(LogType, Object) UnityEngine.Debug:Log(Object) Eco.Shared.Utils.Log:WriteLine(LocString) Eco.Shared.Networking.NetworkClient:ConnectInternal(IPEndPoint) Eco.Shared.Networking.NetworkClient:ConnectRoundRobin() Eco.Shared.Networking.NetworkClient:HandleNatIntroductionSuccess(IPEndPoint, String) Eco.Shared.Networking.NetworkClient:HandleCompleteUnconnectedDataMessage(UdpDataMessage&) Eco.Shared.Networking.NetworkClient:HandleUnconnectedDataMessage(UdpDataMessage&) Mono.Unity.unitytls_tlsctx_free_t:Invoke(unitytls_tlsctx*) Eco.Networking.ENet.ENetUdpPeer:OnRawDataReceived(IntPtr, IntPtr, UInt32, Boolean&) ENet.RawDataReceivedHandler:Invoke(IntPtr, IntPtr, UInt32, Boolean&) ENet.Host:HandleIntercept(IntPtr, IntPtr) ENet.Host:Service(Int32, Event&) Eco.Networking.ENet.ENetUdpPeer:Service(Int32) <>c__DisplayClass59_0:b__0() Steamworks.RulesRefreshComplete:Invoke() System.Action`1:Invoke(T) System.Threading.ExecutionContext:RunInternal(ExecutionContext, ContextCallback, Object, Boolean) System.Threading.ExecutionContext:Run(ExecutionContext, ContextCallback, Object) Steamworks.RulesRefreshComplete:Invoke() (Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35) The referenced script on this Behaviour (Game Object 'LayerViewer') is missing! (Filename: C:\buildslave\unity\build\Runtime/Mono/ManagedMonoBehaviourRef.cpp Line: 334) Unable to open archive file: C:/Program Files (x86)/Steam/steamapps/common/Eco/Eco_Data/StreamingAssets/desc.unity3d (Filename: C:\buildslave\unity\build\Runtime/VirtualFileSystem/ArchiveFileSystem/ArchiveStorageReader.cpp Line: 584) [01:45:41.824] Missing following icons: AsphaltConcreteRampItem AttachmentComponent BlockForm ChargingComponent DeedManagementComponent FakePlantComponent FormType FuelConsumptionComponent FuelSupplyComponent LinkComponent LiquidProducerComponent LogicGateObject ModularStockpileComponent ModularVehicleComponent MountComponent OnOffComponent PowerConsumptionComponent PowerGeneratorComponent PowerGridComponent PowerGridNetworkComponent RoofsFormGroup RoomRequirementsComponent StandaloneAuthComponent TollComponent VehicleHoeComponent VehicleToolComponent EcoEngine.Logging.LogManager:LogFormat(LogType, Object, String, Object[]) UnityEngine.Logger:Log(LogType, Object) UnityEngine.Debug:LogWarning(Object) d__52:MoveNext() UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr) d__53:MoveNext() UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr) (Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35) [01:45:41.996] Missing following objects: AirPollutionGeneratorObject EcoEngine.Logging.LogManager:LogFormat(LogType, Object, String, Object[]) UnityEngine.Logger:Log(LogType, Object) UnityEngine.Debug:LogWarning(Object) d__8:MoveNext() UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr) d__47:MoveNext() UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr) (Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35) [01:45:44.942] Ecopedia: Missing following icons: Trade EcoEngine.Logging.LogManager:LogFormat(LogType, Object, String, Object[]) UnityEngine.Logger:Log(LogType, Object) UnityEngine.Debug:LogWarning(Object) EcopediaManager:CheckForMissingItems() Player:ReceiveInitialState(BSONObject) System.Action`1:Invoke(T) NetObjComponent:OnReceiveInitialState(BSONObject) NetObjComponent:Eco.Shared.Networking.INetObject.ReceiveInitialState(BSONObject) Eco.Shared.Networking.NetObjectManager:HandleNewObject(BSONObject) ClientPacketHandler:ReceiveWhile(NetworkClient, TimeLimit) NetworkManager:OnTimeLimitedUpdate(TimeLimit) System.Action`1:Invoke(T) FramePlanner.PlannerGroup:OnUpdate() FramePlanner.FramePlannerSystem:OnUpdate() Unity.Entities.ComponentSystem:Update() Unity.Entities.ComponentSystemGroup:UpdateAllSystems() Unity.Entities.ComponentSystem:Update() UnityEngine.LowLevel.UpdateFunction:Invoke() (Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35) [01:45:53.478] FakeOak doesn't support pooling. It may cause problems in runtime. Either add [SupportsPooling] attribute to all it's and it's children components or implement pool supporting interface(s) (IPoolRentAware, IPoolReturnAware). For third-party components you can use PoolingExtensions.RegisterPoolableType. List of components missing pooling support: Oak_Branch_0 (BranchInfo), Oak_Branch01 (BranchPart), Foliage (LeafAttachPoint), BirdPerch (DecorationSpawnLocation), Oak_Branch_0 (BranchInfo), Oak_Branch01 (BranchPart), Foliage (LeafAttachPoint), BirdPerch (DecorationSpawnLocation), Oak_Branch_0 (BranchInfo), Oak_Branch01 (BranchPart), Foliage (LeafAttachPoint), BirdPerch (DecorationSpawnLocation), Oak_Branch_0 (BranchInfo), Oak_Branch01 (BranchPart), Foliage (LeafAttachPoint), BirdPerch (DecorationSpawnLocation), Foliage001 (LeafAttachPoint), OakLeaves (LeafPart) EcoEngine.Logging.LogManager:LogFormat(LogType, Object, String, Object[]) UnityEngine.Logger:Log(LogType, Object) UnityEngine.Debug:LogWarning(Object) EcoEngine.Pooling.PooledObjectOwnerExtensions:PoolInstantiate(GameObject, Transform, Boolean, IPooledObjectOwner) PlanterPot:TrySpawnBlock(BlockSet, String) PlanterPot:UpdateFakePlant() UnityEngine.LowLevel.UpdateFunction:Invoke() PlanterPot:ReceiveInitialState(BSONObject) System.Action`1:Invoke(T) NetObjComponent:OnReceiveInitialState(BSONObject) NetObjComponent:Eco.Shared.Networking.INetObject.ReceiveInitialState(BSONObject) Eco.Shared.Networking.NetObjectManager:HandleNewObject(BSONObject) ClientPacketHandler:ReceiveWhile(NetworkClient, TimeLimit) NetworkManager:OnTimeLimitedUpdate(TimeLimit) System.Action`1:Invoke(T) FramePlanner.PlannerGroup:OnUpdate() FramePlanner.FramePlannerSystem:OnUpdate() Unity.Entities.ComponentSystem:Update() Unity.Entities.ComponentSystemGroup:UpdateAllSystems() Unity.Entities.ComponentSystem:Update() UnityEngine.LowLevel.UpdateFunction:Invoke() (Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35) NullReferenceException: Object reference not set to an instance of an object. at TreePart.Start () [0x00000] in <00000000000000000000000000000000>:0 UnityEngine.Logger:LogException(Exception, Object) UnityEngine.Debug:CallOverridenDebugHandler(Exception, Object) (Filename: currently not available on il2cpp Line: -1) [01:46:03.418] Failed to notify changed: SetOfConditionsView.ListSystem.InvalidOperationException: Collection was modified; enumeration operation may not execute. at System.ThrowHelper.ThrowInvalidOperationException (System.ExceptionResource resource) [0x00000] in <00000000000000000000000000000000>:0 at ElectricMachinistTableItemView+ViewData.CreateView () [0x00000] in <00000000000000000000000000000000>:0 at Eco.Shared.View.View.NotifyChanged (System.String propname) [0x00000] in <00000000000000000000000000000000>:0 at Eco.Shared.View.ViewManager.ReceiveViewUpdate (Eco.Shared.Serialization.BSONArray updates) [0x00000] in <00000000000000000000000000000000>:0 at ClientPacketHandler.ReceiveWhile (Eco.Shared.Networking.NetworkClient client, TimeLimit timeLimit) [0x00000] in <00000000000000000000000000000000>:0 at NetworkManager.OnTimeLimitedUpdate (TimeLimit timeLimit) [0x00000] in <00000000000000000000000000000000>:0 at System.Action`1[T].Invoke (T obj) [0x00000] in <00000000000000000000000000000000>:0 at FramePlanner.PlannerGroup.OnUpdate () [0x00000] in <00000000000000000000000000000000>:0 at FramePlanner.FramePlannerSystem.OnUpdate () [0x00000] in <00000000000000000000000000000000>:0 at Unity.Entities.ComponentSystem.Update () [0x00000] in <00000000000000000000000000000000>:0 at Unity.Entities.ComponentSystemGroup.UpdateAllSystems () [0x00000] in <00000000000000000000000000000000>:0 at Unity.Entities.ComponentSystem.Update () [0x00000] in <00000000000000000000000000000000>:0 at UnityEngine.LowLevel.PlayerLoopSystem+UpdateFunction.Invoke () [0x00000] in <00000000000000000000000000000000>:0 EcoEngine.Logging.LogManager:LogFormat(LogType, Object, String, Object[]) UnityEngine.Logger:Log(LogType, Object) UnityEngine.Debug:LogError(Object) Eco.Shared.Utils.Log:WriteError(LocString, Exception) Eco.Shared.View.ViewManager:ReceiveViewUpdate(BSONArray) ClientPacketHandler:ReceiveWhile(NetworkClient, TimeLimit) NetworkManager:OnTimeLimitedUpdate(TimeLimit) System.Action`1:Invoke(T) FramePlanner.PlannerGroup:OnUpdate() FramePlanner.FramePlannerSystem:OnUpdate() Unity.Entities.ComponentSystem:Update() Unity.Entities.ComponentSystemGroup:UpdateAllSystems() Unity.Entities.ComponentSystem:Update() UnityEngine.LowLevel.UpdateFunction:Invoke() (Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35) [01:46:19.699] Disconnected with error: Server encountered an exception: Exception: NullReferenceException Message:Object reference not set to an instance of an object. Source:Eco.Gameplay System.NullReferenceException: Object reference not set to an instance of an object. at Eco.Gameplay.Civics.IfThenBlock.TryPerform(Law law, GameAction action, LawSection section, Int32 index, StringBuilder sbDebug) at Eco.Gameplay.Civics.Laws.LawSection.CheckConditionsAndApplyEffects(Law law, GameAction action) at Eco.Gameplay.Civics.Laws.LawSection.Perform(Law law, GameAction action) at Eco.Gameplay.Civics.Laws.Law.Perform(GameAction action) at Eco.Gameplay.Civics.Laws.LawManager.Perform(GameAction action) at Eco.Gameplay.GameActions.GameActionManager.TryPerformActions(User user, List`1 actions, IEnumerable`1 preTests, IEnumerable`1 postEffects) at Eco.Gameplay.GameActions.GameActionManager.TryPerformActions(User user, GameActionPack actionPack, Boolean notify) at Eco.Gameplay.Animals.AnimalEntity.TryApplyDamage(INetObject damager, Single damage, InteractionContext context, Item tool, Type damageDealer) at Eco.Mods.TechTree.ArrowEntity.Hit(NetObjAttachInfo hitAttachInfo, Vector3 position, String location) in C:\Program Files (x86)\Steam\steamapps\common\Eco Server\Mods\Tools\BowItem.cs:line 118 EcoEngine.Logging.LogManager:LogFormat(LogType, Object, String, Object[]) UnityEngine.Logger:Log(LogType, Object) UnityEngine.Debug:LogWarning(Object) NetworkManager:OnClientDisconnected(String) System.Action`1:Invoke(T) Eco.Shared.Networking.NetworkClient:HandleDisconnect(String) Eco.Shared.Networking.NetworkClient:HandleDisconnected(Object, Boolean) System.Action`2:Invoke(T1, T2) Eco.Networking.ENet.ENetUdpClient:OnDisconnected(ENetConnection, Boolean) Eco.Networking.ENet.ENetUdpPeer:HandleEvent() Eco.Networking.ENet.ENetUdpPeer:Service(Int32) <>c__DisplayClass59_0:b__0() Steamworks.RulesRefreshComplete:Invoke() System.Action`1:Invoke(T) System.Threading.ExecutionContext:RunInternal(ExecutionContext, ContextCallback, Object, Boolean) System.Threading.ExecutionContext:Run(ExecutionContext, ContextCallback, Object) Steamworks.RulesRefreshComplete:Invoke() (Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35) Unloading 7 Unused Serialized files (Serialized files now loaded: 0) System memory in use before: 1.04 GB. System memory in use after: 0.72 GB. Unloading 8913 unused Assets to reduce memory usage. Loaded Objects now: 91944. Total: 407.653500 ms (FindLiveObjects: 6.042300 ms CreateObjectMapping: 13.263600 ms MarkObjects: 359.609500 ms DeleteObjects: 28.737400 ms)