Unity icon indicating copy to clipboard operation
Unity copied to clipboard

Post-import package conflict

Open zhenzhu143321 opened this issue 7 years ago • 7 comments

Library\PackageCache\[email protected]\Unity.Mathematics.Editor\PostNormalizedVectorDrawer.cs(28,22): error CS0433: The type 'IReadOnlyList' exists in both 'ReadOnlyCollectionsInterfaces, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' and 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'

zhenzhu143321 avatar Feb 28 '19 06:02 zhenzhu143321

After removing the ECS package and reloading the ECS package, the conflict is gone.

zhenzhu143321 avatar Feb 28 '19 06:02 zhenzhu143321

So it sounds like everything is working now, so I'm going to close this issue. Feel free to re-open it if you have more questions or information.

Were you also switching between the 3.5 and 4.0 profiles? We only ship IReadOnlyInterfaces for the 3.5 profile, but I believe this particular ECS stuff is 4.0 only. So it seems like a race condition or other weirdness.

StanleyGoldman avatar Feb 28 '19 14:02 StanleyGoldman

We've had another user with the same issue, and they didn't switch profiles. All the other DLLs were properly disabled, only the IReadOnlyCollectionInterfaces dll was enabled (and it shouldn't be)

shana avatar Mar 04 '19 17:03 shana

We've had another user with the same issue, and they didn't switch profiles. All the other DLLs were properly disabled, only the IReadOnlyCollectionInterfaces dll was enabled (and it shouldn't be). Something smells fishy.

shana avatar Mar 05 '19 11:03 shana

Also got this.

3 Entities package errors like this: Library\PackageCache\[email protected]\Unity.Entities\Injection\InjectionHook.cs(95,25): error CS0433: The type 'IReadOnlyCollection' exists in both 'ReadOnlyCollectionsInterfaces, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' and 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'

and 1 Mathematics package error: Library\PackageCache\[email protected]\Unity.Mathematics.Editor\PostNormalizedVectorDrawer.cs(28,22): error CS0433: The type 'IReadOnlyList' exists in both 'ReadOnlyCollectionsInterfaces, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' and 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'

Removing these packages fixes the problem. Unity version is 2019.2.0a9

bjporter avatar Mar 31 '19 05:03 bjporter

My apologies, it looks like this was fixed in 1.3.0

I didn't realize the Unity Asset Store version was so far behind (version 1.2.1)

bjporter avatar Mar 31 '19 05:03 bjporter

The asset store package has been updated, so this should be good now.

shana avatar Aug 13 '19 16:08 shana