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. Join us on Dec 8, 2022, between 7 am & 7 pm EST, in the DOTS Dev Blitz Day 2022 - Q&A forum, Discord, and Unity3D Subreddit to learn more about DOTS directly from the Unity Developers.
    Dismiss Notice
  3. Have a look at our Games Focus blog post series which will show what Unity is doing for all game developers – now, next year, and in the future.
    Dismiss Notice

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:
    1,620
    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:
    1,620
    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.