I am Antoine, a senior developer (C++/C#/Java/Python …) and it is my first post here. I am not really used to unity development.
I have an old professional application made with Unity 4. It has not been developped by me but I know it’s architecture a little bit and I already fixed a few bugs in it.
It is a 3D application which communicates (through sockets) with an external application which provides environment information (time of day, various information about what should be displayed or not …).
Among things I know, it uses C# scripts, an old NGUI Pro version (copyrighted 2012) and the HOTween plugin (I don’t know exactly what for) , also dated 2012.
Today, I am asked to make it compatible with VR headset (I don’t know yet which one but but the choice will be mine).
Is it possible and worth trying to do that in Unity 4 (I already have a commercial licence of unity 4) ?
If not possible or not worth enough, which kind of problem shall I expect while porting this software from Unity 4 to unity 2019 ?
I know I don’t give you much information but I will really appreciate any help you might give me.
The VR headsets generally have official Unity plugins. You probably want to look into which Unity versions those support in order to figure out what version you want to land on. I’m going to go out on a limb and guess that they’re not supporting Unity 4, which is from what, 2015? 2014?
Unity has two stable, supported versions; 2017.4 and 2018.4. There’s also the less stable tech branch (2019). Looking at NGUI Pro, it’s latest update is for 2018.3, so you’re safe on that front - 2018.4 is essentially the stable version of that.
I’d open the project in 2018.4 and see what happens. Worst case scenario you should simply be able to roll back. Usually when doing large jumps like that, the things that break are rendering-based. The API is surprisingly backwards-compatible, with the exception of UI, but you’re using a third party plugin for that, so you should be good on that front.
I downloaded 2018.4 and tried. I got many errors and I am handling them one after the other. So far so good
I have one error that I don’t understand but I will ask in another thread.