Hey guys,
(Unity 2019.3.4f1)
So i want to start my new project and i wanted to use Entities in it.
I have already installed it using the packagemanager and all the requirements needed and everything is fine, i have created myself a popup system that i exported to a package and i imported it to the new project, the package contains the Newtonsoft.Json.dll plugin and i get an error that says:
“PrecompiledAssemblyException: Multiple precompiled assemblies with the same name Newtonsoft.Json.dll included for the current platform. Only one assembly with the same name is allowed per platform”.
From what i see, Entities are using “Platforms” which contains Newtonsoft Json, therefore the issue lays there where now i have 2 assemblies with the same name as mentioned in the issues above which also causes scripts not to compile such as TextMeshPro and UnityEngine.UI.
If i am removing the Newtonsoft Json dlls from my assets folder then my popup system scripts that use it will not compile (), if i am removing the Newtonsoft Json from the Library/PackageCache of the project it will compile but the next time i open the project unity will re-add that and repeat the issue.
If i remove Entities completely everything works fine with no issue but i want to use Entities in this project.
One of the “solutions” i came across is renaming the dlls in the Assets folder to have a different name than the ones that came from the PackageManager but i don’t think its something that should be done.
What do i need to do to solve this issue?
Would appreciate any help with this problem.