ssannandeji / Zenject-2019

Dependency Injection Framework for Unity3D
MIT License
2.53k stars 363 forks source link

Error at project Upgrade #670

Closed aldiazj closed 4 years ago

aldiazj commented 4 years ago

I recently Upgraded my project to Unity 2019.2.11f

And I'm having this error:

Assets\Plugins\Zenject\Source\Binding\Binders\Factory\FactoryFromBinder\FactoryFromBinder4.cs(23,13): error CS0433: The type 'Func<TArg1, TArg2, TArg3, TArg4, TArg5, TResult>' exists in both 'Unity.Compat, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' and 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'

Any idea how to solve it? I'm using Zenject 8.0.0

Mathijs-Bakker commented 4 years ago

¡Hola! I really don't know. Oh wait! this is an old and obsolete fork of Zenject. The Zenject releases you find here are not maintained since 1,5 year or so. Better get the most recent one here: GitHub - Extenject Release 9.1.0 Or in the Unity Asset Store

Saludos!

aldiazj commented 4 years ago

Thanks for your answer, I imported that version from the asset store but still got the same error

aldiazj commented 4 years ago

Ah Forget it, It was an issue with firebase sdk, thanks!

aldiazj commented 4 years ago

I needed to update firebase to the .Net4x version