Sign In Register

How can we help you today?

Start a new topic
Answered

The type or namespace name `Api' does not exist in the namespace `GameSparks'. Are you missing an assembly reference?

I'm setting up Unity to use Facebook as a log in for GameSparks when the game starts. I followed this tutorial: 


https://docs.gamesparks.net/tutorials/unity-tutorial-logging-in-to-gamesparks-with-facebook


But when I run the project, it gives me an error which is: 

"The type or namespace name `Api' does not exist in the namespace `GameSparks'. Are you missing an assembly reference?"


I hope you can help me. I'll really appreciate it, thanks a lot.


Best Answer

Hi, sorry for the delay in answering this, the two things I can suggest are to make sure your GameSparks folder is in the "Assets" folder of Unity and not in a "Plugins" folder. Secondly make sure you have the latest version which can be found at https://docs.gamesparks.net/sdk/unity3d-sdk-v3-new and to try re-importing it.


Shane

1 Comment

Answer

Hi, sorry for the delay in answering this, the two things I can suggest are to make sure your GameSparks folder is in the "Assets" folder of Unity and not in a "Plugins" folder. Secondly make sure you have the latest version which can be found at https://docs.gamesparks.net/sdk/unity3d-sdk-v3-new and to try re-importing it.


Shane

Login to post a comment