Unity 5.6 upgrade + Gamespark blocks type Concurrent Clue
K
Kyler Kelly
started a topic
almost 6 years ago
When we try to upgrade the game to Unity 5.6, there is a compile in Visual Studio error saying that
"The type 'ConcurrentQueue<T>' exists in both 'GameSparks, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null' and 'nunit.framework, Version=3.5.0.0, Culture=neutral, PublicKeyToken=2638cd05610744eb' TestIssue_ConcurrentQueue E:\CE_WorkHardDrive\TestIssue_ConcurrentQueue\Assets\Thread.cs"
When we try to use the Type ConcurrentQueue in some of our own scripts.
The error seems to be caused by the fact that nunit now tries to define ConcurrentQueue for it's own purposes.
Hopefully an update to Gamespark for Unity 5.6 could fix this problem.
Or, if you can suggest a workaround, we would greatly appreciate it.
I've attached a very small example project that produces the error.
Kyler Kelly
When we try to upgrade the game to Unity 5.6, there is a compile in Visual Studio error saying that
"The type 'ConcurrentQueue<T>' exists in both 'GameSparks, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null' and 'nunit.framework, Version=3.5.0.0, Culture=neutral, PublicKeyToken=2638cd05610744eb' TestIssue_ConcurrentQueue E:\CE_WorkHardDrive\TestIssue_ConcurrentQueue\Assets\Thread.cs"
When we try to use the Type ConcurrentQueue in some of our own scripts.
The error seems to be caused by the fact that nunit now tries to define ConcurrentQueue for it's own purposes.
Hopefully an update to Gamespark for Unity 5.6 could fix this problem.
Or, if you can suggest a workaround, we would greatly appreciate it.
I've attached a very small example project that produces the error.
Thanks
Kyler