Hi,
I am trying to get the Prime31 Social Networking plug in to work, however, I am getting an error.
“CS0234: The type or namespace name ‘instance’ does not exist in the namespace ‘Facebook’. Are you missing an assembly reference?”
Puzzled as to the reason. Can some one help me sort out how I am to sort this? I realize this is a Prime31 thing, but it is also a basic coding thing. Any help is appreciated.
Mine.
In my script, that I copied from there example, GUI manager, so I passed all interactivity out of their’s which uses onGui, to mine which uses Unity UI.
There were no errors until I added the Facebook SDK.
I removed any namespace from my script. I originally had under the prime 31 namespace, but removed it, due to error.
using UnityEngine;
using System;
using System.Collections.Generic;
using System.Collections;
using System.Text;
using Prime31;
using Facebook;
public class Facebook_UI_MNG : MonoBehaviour {}
So the question for me is, what is the instance of? How do I assign it? As far as It should be recognized in Awake. I followed the example scene, and placed only the elements in it that it had (into my own scene).
?
Facebook is a class in the Prime31 namespace. The fact that the error says something about instance not existing in the Facebook namespace still leads me to believe that you have a name collision.