How to maintain UI for easy plugin updates?

+1 vote
asked Mar 2, 2016 in Help by Cheras
Hey,

We build our UI using version 1.0 in the editor. After updating to latest version (v1.1.0), there are changes that are breaking, for example some objects now have "Shadow Anim" script missing, while docs state that there are some Prefabs in need of updating. That's a bit (major) of a pain.

My question is: how would you suggest to build UI in a way that will make updating plugin as painless as possible?

Currently it seems that we will have to recreate whole UI from scratch to make sure that we didn't miss anything.

Counterintuitively, it looks that building whole UI in code (which might not be possible with some elements) will be best, simply because it will always use latest Prefabs :x

Any suggestions welcome!

1 Answer

+1 vote
answered Mar 2, 2016 by admin (31,720 points)
 
Best answer
Hey Cheras,

Unfortunately, there's not really an easy way to transition from v1.0.0 to v1.1.0. We're really sorry about this.

Since releasing v1.1.0, we've realized that this is a problem that we'd have to address, and we've put some code in place to help detect what versions have been used, so future releases (starting with the next one) will be able to help update projects/prefabs to for newer versions (similar to what Unity does).

As far as we can tell, the best thing to do would be to use MaterialUI like you would uGUI, and we should be able to take care of the rest.

Let me know if you have any other queries :)

~ Declan
commented Mar 3, 2016 by Cheras
Hey,

 

Thanks for the info, that's unfortunate :) . Do you have estimate when next release will be available, more or less? Like it's a matter of week or month or months? We'll hold with updating from 1.0.0 (even thought there are some hotfixes we had to do that are solved in latest version) and then, as said, recreate UI with newer plugin.

 

Regards,

Cheras
commented Mar 7, 2016 by admin (31,720 points)
Hello :)

Well, as Declan said, we plan to do this "updating thing" starting releases AFTER 1.1.0, so it won't help much if you wait for the future release since you don't have 1.1.0 but 1.0.0 :/

Best regards.
Welcome to MaterialUI support! Ask us anything :)
...