Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Zenject.ZenjectException : Error during construction of type 'Placeable' via Placeable.Factory.Create method!
- ----> Zenject.ZenjectException : Assert hit! Error occurred while instantiating object of type 'Placeable'. Instantiator should not be used to create new mono behaviours. Must use InstantiatePrefabForComponent, InstantiatePrefab, or InstantiateComponent.
- Stacktrace:
- at Zenject.PlaceholderFactoryBase`1[TValue].CreateInternal (System.Collections.Generic.List`1[T] extraArgs) [0x00067] in C:\workspace\Sushi-Express\Sushi-Express\Assets\Plugins\Zenject\Source\Factories\PlaceholderFactoryBase.cs:45
- at Zenject.PlaceholderFactory`4[TParam1,TParam2,TParam3,TValue].Create (TParam1 param1, TParam2 param2, TParam3 param3) [0x00001] in C:\workspace\Sushi-Express\Sushi-Express\Assets\Plugins\Zenject\Source\Factories\PlaceholderFactory.cs:107
- at Architect.ArchitectController.PlaceContentAtTile (ScriptableObjects.PlaceableSO somePrefab, CustomGrid.Tiles.IGameTile hostTile) [0x00008] in C:\workspace\Sushi-Express\Sushi-Express\Assets\Scripts\Architect\ArchitectController.cs:35
- at Tests.TestsEditMode.Architect.ArchitectControllerTest.PlaceContentAtTile () [0x00001] in C:\workspace\Sushi-Express\Sushi-Express\Assets\Tests\TestsEditMode\Architect\ArchitectControllerTest.cs:71
- 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 <1f66344f2f89470293d8b67d71308c07>:0
- --ZenjectException
- at ModestTree.Assert.That (System.Boolean condition, System.String message, System.Object p1) [0x0000a] in C:\workspace\Sushi-Express\Sushi-Express\Assets\Plugins\Zenject\Source\Internal\Assert.cs:345
- at Zenject.DiContainer.InstantiateInternal (System.Type concreteType, System.Boolean autoInject, System.Collections.Generic.List`1[T] extraArgs, Zenject.InjectContext context, System.Object concreteIdentifier) [0x00001] in C:\workspace\Sushi-Express\Sushi-Express\Assets\Plugins\Zenject\Source\Main\DiContainer.cs:1279
- at Zenject.DiContainer.InstantiateExplicit (System.Type concreteType, System.Boolean autoInject, System.Collections.Generic.List`1[T] extraArgs, Zenject.InjectContext context, System.Object concreteIdentifier) [0x00055] in C:\workspace\Sushi-Express\Sushi-Express\Assets\Plugins\Zenject\Source\Main\DiContainer.cs:3303
- at Zenject.TransientProvider.GetAllInstancesWithInjectSplit (Zenject.InjectContext context, System.Collections.Generic.List`1[T] args, System.Action& injectAction, System.Collections.Generic.List`1[T] buffer) [0x00062] in C:\workspace\Sushi-Express\Sushi-Express\Assets\Plugins\Zenject\Source\Providers\TransientProvider.cs:67
- at Zenject.IProviderExtensions.GetAllInstances (Zenject.IProvider creator, Zenject.InjectContext context, System.Collections.Generic.List`1[T] args, System.Collections.Generic.List`1[T] buffer) [0x00008] in C:\workspace\Sushi-Express\Sushi-Express\Assets\Plugins\Zenject\Source\Providers\IProviderExtensions.cs:31
- at Zenject.IProviderExtensions.GetInstance (Zenject.IProvider creator, Zenject.InjectContext context, System.Collections.Generic.List`1[T] args) [0x00008] in C:\workspace\Sushi-Express\Sushi-Express\Assets\Plugins\Zenject\Source\Providers\IProviderExtensions.cs:83
- at Zenject.PlaceholderFactoryBase`1[TValue].CreateInternal (System.Collections.Generic.List`1[T] extraArgs) [0x00002] in C:\workspace\Sushi-Express\Sushi-Express\Assets\Plugins\Zenject\Source\Factories\PlaceholderFactoryBase.cs:32
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement