In this tutorial, we will look at ways to upgrade SOOMLA packages.
Case: You get an email from your friend “Hey, there’s a new feature in the SOOMLA module. It’s available and supports Windows phone too. Upgrade it in your existing project to use the new features.”
You are really excited and want to upgrade your existing project to the newest version immediately! You open up your project and see lots of project files wandering around and feel confused. You ask yourself, “how the heck will I update this?”
Now, your main objectives to overcome:
- Update SOOMLA modules to newest release
- Update it without losing any connectivity or files
So, let’s begin:
There are two ways to update SOOMLA modules:
Manually for smaller projects
Step 1: Select soomla files
Step 2: Right Click and press delete
Step 3: Press “Delete.”
Step 4: Download and import new package.
Manually for larger projects*:
* If your project is larger, then you may have a lot of other files in the “Plugins” folder which may result in confusion over which files are related to SOOMLA.
The easier workaround is, open a new SOOMLA project while the current project is still open. Import the respective SOOMLA package and wait for the “Importing package” screen to appear.
Now, cross check which files are related to SOOMLA and delete those files.
Auto process for large and small projects:
I was looking for better options over manually adjusting everything which uninstalls the assets auto. After quite a bit of searching, I came across Package Uninstaller, which helps uninstall any package without having to fear of deleting wrong files.
Let’s see how to use this package to upgrade our SOOMLA modules.
Step 1: Download and import Package Uninstaller.
Step 2: To uninstall, go to Assets > Package Uninstaller
Step 3 : Select SOOMLA’s .unitypackage from explorer.
Step 4: Click uninstall.
Step 5: Press “Yes Do it” and the uninstalling package process will start.
Step 6: Download latest SOOMLA module and import.
This is how you can upgrade your existing SOOMLA package to the newest version.
If you have any questions, please don’t hesitate to ask in the comments section below. Also, if you’d like other tutorials on similar topics let us know or visit my blog Game Development Secrets