We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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+<>c__DisplayClass15_0.b__0 () (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+<>c__DisplayClass27_01[TSignal].<SubscribeId>b__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.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+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()
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[TSignal].<SubscribeId>b__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
The text was updated successfully, but these errors were encountered:
No branches or pull requests
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+<>c__DisplayClass15_0.b__0 () (at Assets/Plugins/Zenject/Source/Providers/PrefabCreators/PrefabInstantiator.cs:93)
Zenject.IProviderExtensions.GetAllInstances (Zenject.IProvider creator, Zenject.InjectContext context, 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.List
1[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+<>c__DisplayClass27_0
1[TSignal].<SubscribeId>b__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] 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()
The text was updated successfully, but these errors were encountered: