Open JuegoShivaprsad opened 5 years ago
Im getting this exception , but cannot figure out why. Please look into this.
ZenjectException: Assert hit! ModestTree.Assert.That (System.Boolean condition) (at Assets/Plugins/Zenject/Source/Internal/Assert.cs:18) Zenject.PrefabInstantiator+<>cDisplayClass15_0.b0 () (at Assets/Plugins/Zenject/Source/Providers/PrefabCreators/PrefabInstantiator.cs:93) Zenject.IProviderExtensions.GetAllInstances (Zenject.IProvider creator, Zenject.InjectContext context, System.Collections.Generic.List1[T] args, System.Collections.Generic.List1[T] buffer) (at Assets/Plugins/Zenject/Source/Providers/IProviderExtensions.cs:35) Zenject.IProviderExtensions.GetInstance (Zenject.IProvider creator, Zenject.InjectContext context, System.Collections.Generic.List1[T] args) (at Assets/Plugins/Zenject/Source/Providers/IProviderExtensions.cs:83) Zenject.PlaceholderFactoryBase1[TValue].CreateInternal (System.Collections.Generic.List1[T] extraArgs) (at Assets/Plugins/Zenject/Source/Factories/PlaceholderFactoryBase.cs:32) Rethrow as ZenjectException: Error during construction of type 'PlayerSquadFacade' via PlayerSquadFacade.Factory.Create method! Zenject.PlaceholderFactoryBase1[TValue].CreateInternal (System.Collections.Generic.List1[T] extraArgs) (at Assets/Plugins/Zenject/Source/Factories/PlaceholderFactoryBase.cs:45) Zenject.PlaceholderFactory2[TParam1,TValue].Create (TParam1 param) (at Assets/Plugins/Zenject/Source/Factories/PlaceholderFactory.cs:44) EarthArena.DebugClasses.BuildDebugPanel.OnMockAttackSignalHandler (EarthArena.DebugClasses.OnMockAttackSignal signalData) (at Assets/Temp/Scripts/UnitTests/BuildDebugPanel.cs:74) Zenject.SignalBus+<>cDisplayClass27_0`1[TSignal].b0 (System.Object args) (at Assets/Plugins/Zenject/OptionalExtras/Signals/Main/SignalBus.cs:192) Zenject.SignalSubscription.Invoke (System.Object signal) (at Assets/Plugins/Zenject/OptionalExtras/Signals/Internal/SignalSubscription.cs:75) Zenject.SignalDeclaration.FireInternal (System.Collections.Generic.List1[T] subscriptions, System.Object signal) (at Assets/Plugins/Zenject/OptionalExtras/Signals/Internal/SignalDeclaration.cs:129) Zenject.SignalDeclaration.Fire (System.Object signal) (at Assets/Plugins/Zenject/OptionalExtras/Signals/Internal/SignalDeclaration.cs:97) Zenject.SignalBus.FireId[TSignal] (System.Object identifier, TSignal signal) (at Assets/Plugins/Zenject/OptionalExtras/Signals/Main/SignalBus.cs:82) Zenject.SignalBus.Fire[TSignal] (TSignal signal) (at Assets/Plugins/Zenject/OptionalExtras/Signals/Main/SignalBus.cs:87) EarthArena.DebugClasses.PathDebugPanel.DrawPath () (at Assets/Temp/Scripts/UnitTests/PathDebugPanel.cs:58) UnityEngine.Events.InvokableCall.Invoke () (at /Users/builduser/buildslave/unity/build/Runtime/Export/UnityEvent/UnityEvent.cs:166) UnityEngine.Events.UnityEvent.Invoke () (at /Users/builduser/buildslave/unity/build/Runtime/Export/UnityEvent/UnityEvent/UnityEvent_0.cs:58) UnityEngine.UI.Button.Press () (at /Applications/Unity/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.ugui/Runtime/UI/Core/Button.cs:68) UnityEngine.UI.Button.OnPointerClick (UnityEngine.EventSystems.PointerEventData eventData) (at /Applications/Unity/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.ugui/Runtime/UI/Core/Button.cs:110) UnityEngine.EventSystems.ExecuteEvents.Execute (UnityEngine.EventSystems.IPointerClickHandler handler, UnityEngine.EventSystems.BaseEventData eventData) (at /Applications/Unity/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.ugui/Runtime/EventSystem/ExecuteEvents.cs:50) UnityEngine.EventSystems.ExecuteEvents.Execute[T] (UnityEngine.GameObject target, UnityEngine.EventSystems.BaseEventData eventData, UnityEngine.EventSystems.ExecuteEvents+EventFunction1[T1] functor) (at /Applications/Unity/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.ugui/Runtime/EventSystem/ExecuteEvents.cs:261) UnityEngine.EventSystems.EventSystem:Update()
1[T] args, System.Collections.Generic.List
1[T] args) (at Assets/Plugins/Zenject/Source/Providers/IProviderExtensions.cs:83) Zenject.PlaceholderFactoryBase
1[T] extraArgs) (at Assets/Plugins/Zenject/Source/Factories/PlaceholderFactoryBase.cs:32) Rethrow as ZenjectException: Error during construction of type 'PlayerSquadFacade' via PlayerSquadFacade.Factory.Create method! Zenject.PlaceholderFactoryBase
1[T] extraArgs) (at Assets/Plugins/Zenject/Source/Factories/PlaceholderFactoryBase.cs:45) Zenject.PlaceholderFactory
1[T] subscriptions, System.Object signal) (at Assets/Plugins/Zenject/OptionalExtras/Signals/Internal/SignalDeclaration.cs:129) Zenject.SignalDeclaration.Fire (System.Object signal) (at Assets/Plugins/Zenject/OptionalExtras/Signals/Internal/SignalDeclaration.cs:97) Zenject.SignalBus.FireId[TSignal] (System.Object identifier, TSignal signal) (at Assets/Plugins/Zenject/OptionalExtras/Signals/Main/SignalBus.cs:82) Zenject.SignalBus.Fire[TSignal] (TSignal signal) (at Assets/Plugins/Zenject/OptionalExtras/Signals/Main/SignalBus.cs:87) EarthArena.DebugClasses.PathDebugPanel.DrawPath () (at Assets/Temp/Scripts/UnitTests/PathDebugPanel.cs:58) UnityEngine.Events.InvokableCall.Invoke () (at /Users/builduser/buildslave/unity/build/Runtime/Export/UnityEvent/UnityEvent.cs:166) UnityEngine.Events.UnityEvent.Invoke () (at /Users/builduser/buildslave/unity/build/Runtime/Export/UnityEvent/UnityEvent/UnityEvent_0.cs:58) UnityEngine.UI.Button.Press () (at /Applications/Unity/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.ugui/Runtime/UI/Core/Button.cs:68) UnityEngine.UI.Button.OnPointerClick (UnityEngine.EventSystems.PointerEventData eventData) (at /Applications/Unity/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.ugui/Runtime/UI/Core/Button.cs:110) UnityEngine.EventSystems.ExecuteEvents.Execute (UnityEngine.EventSystems.IPointerClickHandler handler, UnityEngine.EventSystems.BaseEventData eventData) (at /Applications/Unity/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.ugui/Runtime/EventSystem/ExecuteEvents.cs:50) UnityEngine.EventSystems.ExecuteEvents.Execute[T] (UnityEngine.GameObject target, UnityEngine.EventSystems.BaseEventData eventData, UnityEngine.EventSystems.ExecuteEvents+EventFunction
Im getting this exception , but cannot figure out why. Please look into this.
ZenjectException: Assert hit! ModestTree.Assert.That (System.Boolean condition) (at Assets/Plugins/Zenject/Source/Internal/Assert.cs:18) Zenject.PrefabInstantiator+<>cDisplayClass15_0.b0 () (at Assets/Plugins/Zenject/Source/Providers/PrefabCreators/PrefabInstantiator.cs:93)
Zenject.IProviderExtensions.GetAllInstances (Zenject.IProvider creator, Zenject.InjectContext context, System.Collections.Generic.Listb 0 (System.Object args) (at Assets/Plugins/Zenject/OptionalExtras/Signals/Main/SignalBus.cs:192)
Zenject.SignalSubscription.Invoke (System.Object signal) (at Assets/Plugins/Zenject/OptionalExtras/Signals/Internal/SignalSubscription.cs:75)
Zenject.SignalDeclaration.FireInternal (System.Collections.Generic.List
1[T] args, System.Collections.Generic.List
1[T] buffer) (at Assets/Plugins/Zenject/Source/Providers/IProviderExtensions.cs:35) Zenject.IProviderExtensions.GetInstance (Zenject.IProvider creator, Zenject.InjectContext context, System.Collections.Generic.List1[T] args) (at Assets/Plugins/Zenject/Source/Providers/IProviderExtensions.cs:83) Zenject.PlaceholderFactoryBase
1[TValue].CreateInternal (System.Collections.Generic.List1[T] extraArgs) (at Assets/Plugins/Zenject/Source/Factories/PlaceholderFactoryBase.cs:32) Rethrow as ZenjectException: Error during construction of type 'PlayerSquadFacade' via PlayerSquadFacade.Factory.Create method! Zenject.PlaceholderFactoryBase
1[TValue].CreateInternal (System.Collections.Generic.List1[T] extraArgs) (at Assets/Plugins/Zenject/Source/Factories/PlaceholderFactoryBase.cs:45) Zenject.PlaceholderFactory
2[TParam1,TValue].Create (TParam1 param) (at Assets/Plugins/Zenject/Source/Factories/PlaceholderFactory.cs:44) EarthArena.DebugClasses.BuildDebugPanel.OnMockAttackSignalHandler (EarthArena.DebugClasses.OnMockAttackSignal signalData) (at Assets/Temp/Scripts/UnitTests/BuildDebugPanel.cs:74) Zenject.SignalBus+<>cDisplayClass27_0`1[TSignal].1[T] subscriptions, System.Object signal) (at Assets/Plugins/Zenject/OptionalExtras/Signals/Internal/SignalDeclaration.cs:129) Zenject.SignalDeclaration.Fire (System.Object signal) (at Assets/Plugins/Zenject/OptionalExtras/Signals/Internal/SignalDeclaration.cs:97) Zenject.SignalBus.FireId[TSignal] (System.Object identifier, TSignal signal) (at Assets/Plugins/Zenject/OptionalExtras/Signals/Main/SignalBus.cs:82) Zenject.SignalBus.Fire[TSignal] (TSignal signal) (at Assets/Plugins/Zenject/OptionalExtras/Signals/Main/SignalBus.cs:87) EarthArena.DebugClasses.PathDebugPanel.DrawPath () (at Assets/Temp/Scripts/UnitTests/PathDebugPanel.cs:58) UnityEngine.Events.InvokableCall.Invoke () (at /Users/builduser/buildslave/unity/build/Runtime/Export/UnityEvent/UnityEvent.cs:166) UnityEngine.Events.UnityEvent.Invoke () (at /Users/builduser/buildslave/unity/build/Runtime/Export/UnityEvent/UnityEvent/UnityEvent_0.cs:58) UnityEngine.UI.Button.Press () (at /Applications/Unity/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.ugui/Runtime/UI/Core/Button.cs:68) UnityEngine.UI.Button.OnPointerClick (UnityEngine.EventSystems.PointerEventData eventData) (at /Applications/Unity/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.ugui/Runtime/UI/Core/Button.cs:110) UnityEngine.EventSystems.ExecuteEvents.Execute (UnityEngine.EventSystems.IPointerClickHandler handler, UnityEngine.EventSystems.BaseEventData eventData) (at /Applications/Unity/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.ugui/Runtime/EventSystem/ExecuteEvents.cs:50) UnityEngine.EventSystems.ExecuteEvents.Execute[T] (UnityEngine.GameObject target, UnityEngine.EventSystems.BaseEventData eventData, UnityEngine.EventSystems.ExecuteEvents+EventFunction
1[T1] functor) (at /Applications/Unity/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.ugui/Runtime/EventSystem/ExecuteEvents.cs:261) UnityEngine.EventSystems.EventSystem:Update()