Search Unity

Question Does Netcode for GameObjects support UWP?

Discussion in 'Netcode for GameObjects' started by wouwMrWatts, Nov 15, 2022.

  1. wouwMrWatts

    wouwMrWatts

    Joined:
    Jan 20, 2022
    Posts:
    3
    Building the solution doesn't fail in Unity, but builds do fail in Visual Studio.

    Seeing as UWP isn't specifically mentioned in supported types in the docs, I assume it is unsupported?
     
  2. CodeSmile

    CodeSmile

    Joined:
    Apr 10, 2014
    Posts:
    5,848
    Failing how?
    Have you enabled Windows Developer Mode? That is a general requirement for building UWP apps.
     
  3. wouwMrWatts

    wouwMrWatts

    Joined:
    Jan 20, 2022
    Posts:
    3
    Yes, this is not the first UWP app i've build. It's specifically when using this package, in both new and already existing apps the building fails.

    Have you already got it working on UWP?
     
  4. CodeSmile

    CodeSmile

    Joined:
    Apr 10, 2014
    Posts:
    5,848
    No, never tried.

    I'm more curious what "fail" means in this context, as in what error messages do you get? It may not necessarily have anything to do with UWP specifically, especially since making a build works but compiling in VS doesn't work.

    So far it seems like the issue is with VS compilation only, not necessarily that NGO won't work with UWP. Unless that build you made somehow fails to start or host/connect but again, you got to provide us with an error message or what the faulty behaviour is.
     
  5. wouwMrWatts

    wouwMrWatts

    Joined:
    Jan 20, 2022
    Posts:
    3
    Answer: yes netcode does work on UWP.

    The build issue was this.