The type or namespace name `Unity' does not exist in the namespace `UnityEditor.Facebook'
I'm developing a moblie app, and I get this error: The type or namespace name "Unity" does not exist in the namespace "UnityEditor.Facebook"
What can I do to fix this?
Remove the .Unity. If that's not it, just delete that line and compile. If you get errors in the code you can right click the underlined code, select refactor and add the missing using directive.
Anyone had any luck solving this issue? I've stumbled upon it as well with Facebook SD$$anonymous$$ 7.9.4. and can't seem to find any solutions. It only seems to be an issue on $$anonymous$$ac - working on the same version on Windows does not have any issues.
Answer by DoomerDGR8 · Aug 25, 2017 at 09:09 PM
I was facing the exact issue. Seems to be namespace conflict. I updated the using statement to this by adding the 'global::'
I did this for all file reporting a similar issue from Unity.
Answer by springwater · Jul 13, 2017 at 02:47 PM
I think namespaces need to be defined in square brackets
Your answer
Follow this Question
Related Questions
The Name 'GUID' does not exist in the current context 1 Answer
Namespace error....what??? 1 Answer
Blue pixelated artifacts 3D rendering mobile 0 Answers
Custom Shader is Pink Only Samsung 2 Answers