Thanks, Scott. I’m modifying some of the assets so I can’t really just reimport everything whenever Unity blows up during a version change. I eventually got it working again with that version, but it ate up most of my Sunday. All because I wanted to play for 30 minutes to see if any of the new patches might be of benefit. Never again.
After that last post it got much worse. I shut down Unity and restarted it and waited another 30 or whatever minutes. Finally it loaded and said the asset importer had crashed. And just like that, poof, a good chunk of my user interface stopped working and wasn’t even being rendered anymore. I switched back to another version of Unity and waited another 30 minutes for it to load. The “hold on” window would sit there for a good 10 seconds just processing a single image file every time it hit a terrain splat texture. I’m not sure how many times I tried this, sitting there for 30 minutes or so waiting for a different version of Unity to open my project, but it ate up most of the day.
That last version (don’t know which one now) wouldn’t show my user interface anymore either, so I decided to try 5.1.3P2 after seeing that it has the best Oculus performance so far. I started downloading and weee, I now have 200kBPS download speed from Unity. Restarted the downloader and it was the same thing. “x hours to finish downloading.” Great. I said “screw it” and went to the beach for a few hours in a huff. Came back and it was done.
The first time I ran 5.1.3p2, my UI was gone too. Then I switched from scene 1 to scene 2 and back and it fixed itself. Go figure. I thought, “ok, at least it works now.”
This has spilled over into today too. Minutes ago, after a couple of hours of work I’ve realized that 5.1.3P2 is no good either because a function of mine involving GetComponent() in the user interface that has worked fine for probably six months doesn’t work anymore. So now a different part of my user interface that displays a bunch of images in an array no longer works at all. And as soon as the “Object reference not set to an instance of an object” pops up, my world space cursor system I wrote for the Rift breaks too, so I can’t even click the buttons in my UI anymore. Not to mention the one screen is just gone. So 5.1.3P2 completely breaks my game too.
I’m getting really frustrated with all this and never should have even attempted to try a new patch. Yesterday should have been a simple matter of trying a couple, but each version seems to break something different and it turned into an all day affair that is still going on as I write this now that I’ve discovered 5.1.3P2 is broken too, just in a brand new way. I’m talking about code that has run just fine for months and months, nothing ground breaking or new here.
So now it looks like I need to just go back to the version I was using originally before I started down the all day long process of trying different patches. I’m done with even bothering to try new patches unless it’s absolutely necessary. Unfortunately this is a common experience for me with Unity updates. And then I see the news today in the middle of all this that Unity 5 has deprecated the tree system that my project has relied on for over a year now. Lovely.
For the love all that is holy: Unity, I love you guys, you’re brilliant and have a very difficult, challenging job, but please, please work on getting your testing procedures nailed down better. There is stuff slipping through in your patches that is just absurd. This 5.1.3P2 version for whatever reason pauses the editor when my game changes scenes in preview mode. Huh? Why? How did nobody see this? Another 5.1 patch just hung any time you had the Rift plugged in and stopped the editor by pressing the play button. How does this kind of stuff slip through?
I hope I can be forgiven for the occasional rant like this. I’m pretty hot right now and it just feels like it’s something new and game breaking every single time I change to a newer Unity version. I feel like I’m not getting anything done a lot of the time and am just chasing my tail. I fully expect things to be this way in beta, but not on the publicly released side.
Anyway, enough of my rant. At this point I can not use 5.1.3P2 and would suggest anyone reading this exercise caution in doing so because it has its own bugs. The versions that so far have worked flawlessly for me are 5.1.2p3 and 5.2.0f3. The Oculus performance on those is very good. Not quite as hot as 5.1.3p2 but it’s not too far behind. Good enough.
EDIT: Some time later I’ve tried 5.1.2p3 which worked fine before. This version is now pausing whenever I change scenes in the game too. I’m at this point struggling to find a version of Unity that even works acceptably. Versions that worked fine before yesterday now have problems they didn’t have before. 