Cities2-TrafficLightsEnhancement icon indicating copy to clipboard operation
Cities2-TrafficLightsEnhancement copied to clipboard

Error something about reflections??

Open pikachukaki opened this issue 1 year ago • 1 comments

I get this while i try to add a traffic light. Only one time but maybe it can be helpful.

[Error : Unity Log] [UI] [ERROR] System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object at Unity.Entities.EntityComponentStore.Exists (Unity.Entities.Entity entity) [0x00007] in <39f0c89f34b343ec87d653ea70eaa86b>:0 at Unity.Entities.EntityComponentStore.HasComponent (Unity.Entities.Entity entity, Unity.Entities.ComponentType type) [0x00000] in <39f0c89f34b343ec87d653ea70eaa86b>:0 at Unity.Entities.EntityDataAccess.HasComponent (Unity.Entities.Entity entity, Unity.Entities.ComponentType type) [0x00006] in <39f0c89f34b343ec87d653ea70eaa86b>:0 at Unity.Entities.EntityDataAccess.AddComponentDuringStructuralChange (Unity.Entities.Entity entity, Unity.Entities.ComponentType componentType, Unity.Entities.SystemHandle& originSystem) [0x00000] in <39f0c89f34b343ec87d653ea70eaa86b>:0 at Unity.Entities.EntityManager.AddComponent (Unity.Entities.Entity entity, Unity.Entities.ComponentType componentType) [0x0000c] in <39f0c89f34b343ec87d653ea70eaa86b>:0 at Unity.Entities.EntityManager.AddComponentData[T] (Unity.Entities.Entity entity, T componentData) [0x00006] in <39f0c89f34b343ec87d653ea70eaa86b>:0 at C2VM.TrafficLightsEnhancement.Systems.UISystem.UISystem.UpdateEntity () [0x00112] in :0 at C2VM.TrafficLightsEnhancement.Systems.UISystem.UISystem.CallMainPanelUpdatePattern (System.String input) [0x00070] in :0 at (wrapper managed-to-native) System.Reflection.RuntimeMethodInfo.InternalInvoke(System.Reflection.RuntimeMethodInfo,object,object[],System.Exception&) at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0006a] in :0 --- End of inner exception stack trace --- at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00083] in :0 at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in :0 at cohtml.Net.Invoker.ExecuteAndSendResult (cohtml.Net.Binder binder, System.Delegate callback, System.Object[] arguments, System.Boolean execute) [0x00027] in <34a70e0068754567b86b66a15ff313c5>:0

pikachukaki avatar Feb 02 '24 16:02 pikachukaki