2.0.0-exp.2 - Is it possible to install?

Hey all,

I was wondering - is it possible to install NGO 2.0.0-exp.2 in Unity at this time? I understand it’s experimental and prone to issues, but am wondering if anyone else has managed to install it at all.

When installing on a fresh project with Unity 2023.1.20f1, I get an issue with the manifest upon install:

Unable to add package [com.unity.netcode.gameobjects@2.0.0-exp.2]:
  Manifest [com.unity.netcode.gameobjects@2.0.0-exp.2\package.json] is invalid:
    '6000.0' is not a valid `unity` property value. Expected '<year>.<version>'.

When installing on a 100% fresh project with any version before 2023.1.20f1, I get a compile failure due to a type mismatch with ContactPairPoint (this one seems strange me, since ContactPairPoint does, in fact have these definitions on it).

Unable to add package [com.unity.netcode.gameobjects@2.0.0-exp.2]:
error CS1061: 'ContactPair' does not contain a definition for 'contactCount' and no accessible extension method 'contactCount' accepting a first argument of type 'ContactPair' could be found (are you missing a using directive or an assembly reference?)

Would love to use some of the new features, but wondering if anyone else has actually managed to get 2.0.0-exp.2 working! Or if I’m doing something wrong! These issues both appear with completely vanilla projects created from Unity editor.

@mo1ok

It requires Unity 6. You should be able to install that via Unity Hub:

Once installed, open the package manager and add the package by name and version:
9827361--1412952--upload_2024-5-10_14-42-57.png

Ah, got it, thank you!

1 Like