Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

The type or namespace 'com' could not be found

Discussion in 'Windows' started by PuneetK, May 23, 2014.

  1. PuneetK

    PuneetK

    Joined:
    Sep 2, 2013
    Posts:
    75
    Hi,

    I'm trying to port my Android/iOS/BB10 build to WP8 but I'm getting a problem with builds.

    I have used App42 (ShepHertz) plugin for implementing global leaderboards and such.

    In order to use the said plugin I have to write the following 2 lines of code at the start of my scripts

    Code (csharp):
    1. using com.shephertz.app42.paas.sdk.csharp;
    2. using com.shephertz.app42.paas.sdk.csharp.game;
    This works fine when deploying to any other platform but I get an error on WP8 platform. Just checked, same error on Windows Store as well.

    Here is the exact error message (Getting a total of 12 of these, throughout my project):

    Please help me out, as deploying to WP was a major break for our game! Thanks!
     
  2. Aurimas-Cernius

    Aurimas-Cernius

    Unity Technologies

    Joined:
    Jul 31, 2013
    Posts:
    3,627
    Have you placed plugins correctly in your project?
    See Unity manual for information.
     
  3. PuneetK

    PuneetK

    Joined:
    Sep 2, 2013
    Posts:
    75
    Yes, it's in the Plugins Folder.

    It builds correctly for other platforms
     
  4. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,491
  5. PuneetK

    PuneetK

    Joined:
    Sep 2, 2013
    Posts:
    75
    Didn't see that! I'll give it a go and let you know.

    I'm facing a few other problems as well (After I completely erradicated App42 as well as GameAnalytics from my build)

    I get this error on the windows device:
    I know other people have got similar problems, but I can't seem to trace it down.

    Along with this, my whole GUI (via NGUI) is not showing, so I have a fully working game without a GUI, and ofcourse, the error above.
     
  6. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,491
    This happens when you deploy in debug or release configuration and the phone cannot connect to the editor for profiling (it probably has WiFi turned off). Either ignore it, turn on WiFi, or deploy in master configuration. The message itself is harmless.

    I don't know why GUI would not be showing up, though.
     
  7. PuneetK

    PuneetK

    Joined:
    Sep 2, 2013
    Posts:
    75
    As you said, connecting to a WiFi has gotten rid of the error, thanks for that one!

    Any idea about what might be causing the disappearing GUI at all? Even the slightest tip might help me solve the problem!
     
  8. PuneetK

    PuneetK

    Joined:
    Sep 2, 2013
    Posts:
    75
    Hi, I used their Unity WP8 dll and still seem to get the same error!