Sign In Register

How can we help you today?

Start a new topic

Unity 5.6 upgrade + Gamespark blocks type Concurrent Clue

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=, Culture=neutral, PublicKeyToken=null' and 'nunit.framework, Version=, 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.



1 Comment

 Hi Kyler,

Thanks for bringing this to our attention. We have identified the cause of the bug, and fix will be published with the next release of the sdk.



Login to post a comment