Anyone tried DOTS Netcode on Unity 2021.2.0b16 or above and does it work are there problems etc?
I tried simple NetCube sample(I didnt download the project but I created similar with similar code on my own) using Unity 2021.2.4f1(and the latest entities(0.17) and netcode(0.6) versions packages) and the result is:
-
If i used subscene for conversion it did not work : error was : InvalidOperation Exception : Cannot convert a owner predicted ghost jsa as a scene instance
-
However if i used good old ConvertToClientServerEntity component everything worked like a charm
-
Build also worked after 2.
Also i noticed that each time i exit Unity Editor it crashes - but when i built the game there was no crash (when i later exited Unity Editor) and the process of build was fine without problems though it took some time
NetCode 0.6 is not fully compatible with Unity 2021.x, only with Unity 2019 and 2020. Same apply to Entities package.
That does not means with some custom fixes you could not make it work, but for sure not out of the box.