Advertisement
Guest User

Untitled

a guest
Mar 14th, 2023
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.67 KB | None | 0 0
  1. Zenject.ZenjectException : Error during construction of type 'Placeable' via Placeable.Factory.Create method!
  2. ----> 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.
  3. Stacktrace:
  4. 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
  5. 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
  6. 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
  7. at Tests.TestsEditMode.Architect.ArchitectControllerTest.PlaceContentAtTile () [0x00001] in C:\workspace\Sushi-Express\Sushi-Express\Assets\Tests\TestsEditMode\Architect\ArchitectControllerTest.cs:71
  8. at (wrapper managed-to-native) System.Reflection.RuntimeMethodInfo.InternalInvoke(System.Reflection.RuntimeMethodInfo,object,object[],System.Exception&)
  9. 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
  10. --ZenjectException
  11. 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
  12. 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
  13. 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
  14. 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
  15. 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
  16. 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
  17. 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
  18.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement