[Limited Time Offer : 50% OFF] Switch Platform 2 - Blazing fast changing platform

Overview

Switch Platform 2 generates and restores the caches per platform per Unity version so switching between platforms is now blazing fast. No more asset reimport frustration!
Direct Email | Buy on Asset Store (not yet available) | Forum discussion | Online Documentation

Features

  • Full C# source code

  • Supports Build Targets : Windows, OSX, iOS, Android, WebGL and Web Player

  • Support Unity 4.3+ and Unity 5.x (Free & Pro, Windows & Mac)

  • Generate and update cache for all platforms

  • Generate caches for each Unity version used to open project

  • Works seamlessly with Unity Cache Server

Screenshot

After several months of work, we are very excited that Switch Platform 2 is on the way to the Asset Store with the introduction price of $10 for the first month.

Any feedback, suggestions or bug report is more than welcome as always !

1 Like

Good news for today, the first version of SP2 is uploaded and being in queue !

Good news for today,

Switch Platform 2 v0.8.1 is now available on the asset store. The price will be half for the first month (until 29 Oct 2016)

Get it while it’s still hot, everyone!

Hello,
well get 3 error msg in Unity 5.4.2f1

Assets/SwitchPlatform2/Editor/core/sp2_Unity.cs(151,46): error CS0117: SceneManager' does not contain a definition for GetSceneAt’

Assets/SwitchPlatform2/Editor/core/sp2_Unity.cs(152,52): error CS1061: Type object' does not contain a definition for name’ and no extension method name' of type object’ could be found (are you missing a using directive or an assembly reference?)

Assets/SwitchPlatform2/Editor/core/sp2_Unity.cs(152,65): error CS1061: Type object' does not contain a definition for name’ and no extension method name' of type object’ could be found (are you missing a using directive or an assembly reference?)

any idea how to fix that?
thx
M.

1 Like

@Muckel : We did not have access to Unity 5.4.2f1 at the moment so I can not test. I will try again when it’s publicly available !

Thanks a lot for taking time to report this.

hello thienhaflash,
looks like a Unity3d error…
the new 5.4.2p1 works fine…
thx
M.

2 Likes

I am quite frustrated with the time it takes to switch between iOS and Android (~45 minutes), and am looking for a solution.

Does this plugin write files to the unity project directory?

The reason I ask is that I am using Perforce, so I don’t want to check-in a bunch of odd files that have nothing to do with the project itself.

How does this plugin work? Where does it ā€œcacheā€ the files?

Thanks,
Brian

1 Like

Hello Brian,

When using Unity projects with perforce, you only need to track 2 folders : Assets and Project Settings (Red icons in the image below). Also note that you should to turn on Force-Text mode so you can compare the changes in your project.

We create the cache in the project folder named SP2_Cache but you should not track this folder in your perforce (I’m using git and also ignore that folder, you can see that in the image below It’s not marked as red / green). Actually I can add support for setting custom location for the SP2_Cache folder but I don’t see how it benefits your workflow. Any reason for this? :slight_smile:

We generate the cache for the unity version you are using and each platform you’ve been worked with. In the screenshot below you can see what’s inside SP2_Cache folder


Thanks for showing your interest, Brian.
If you are having any question or suggestion please don’t hesitate to tell!

1 Like

Thanks for the quick reply, it looks like this will work great with my workflow!

No need to add a new setting, I’ll just ignore that folder for check-ins.

Brian

1 Like

First, this asset is generally a huge time saver for me, however, it has some issues. It usually crashes unity when switching which is probably something in my project but then reload and its switched so it sorta works.

But today I got the attached image, clearly IOS was already cached and now as I wait an hour for unity I am writing you.

1 Like

new update seems to be really good so far!

1 Like

@phoenixrising : The previous version of SP2 sometimes crash Unity when switching platform but as It not always occurs, I did not catch it in the first place. I got a report on that and was able to reproduce and this new version already fixed that.

I can explain in short is that this is somehow related to the bug causing Unity to crash. But the crash is now fixed so it should not happen again!

Thanks a lot @phoenixrising for taking time to report it :slight_smile:

@everyone : Switch Platform 2 version 0.9.7 is now available, this version is much more stable so please update if you haven’t :slight_smile:

Hi there, are you planning to add any support for the ā€œWindows Storeā€ target?
If I select that it just errors at the moment :frowning:

Assets/SwitchPlatform2/Editor/core/sp2_Unity.cs(108,14): error CS0145: A const field requires a value to be provided

@xyzDave : I will have a look at Windows Store target this weekend and issue an update right after that.

Thanks a lot for supporting us by buying the package

Good news for today,

Windows Store target is added and will be available in next update Switch Platform 2 v0.9.8

Thanks a lot everyone for your support!

Good news for today,

Switch Platform 2 v0.9.8 is now available adding Windows Store target!

Hello everyone,

To celebrate new year of 2017, Switch Platform 2 offers 50% OFF

Thanks a lot to our customers for supporting us by buying the package.

We at VietLabs wish you all a Happy new year!

p/s : Please if you haven’t rate yet, do rate or leave a comment!

Hi there,
just tried using switch platform 2 with Unity 5.6.1f1 and all the targets other than the current one (WebGL) aren’t selectable - they are greyed out.
Any idea what’s up?
Thanks,
Dave

Forgive my ignorance -
@thienhaflash can you expand upon this please?
Is this for larger projects - that take longer times to ā€˜switch’ between platforms at the build stage?

I’ve built for webgl, pc, and android without hardly a pause in the editor, so I’m wondering why a tool like this is beneficial to other developers.
My game is not (at this time) very big, 3 characters, 2 scenes, some particles and an dynamic array for destructible components, but as the game grows I’m still interested in publishing to these 3 platforms so I’d like to know if this would be helpful to me in the future.

Thanks for dumbing down the information for me.

Hello Dave,

Thanks for supporting us by buying the asset. Unity changed something in Unity 5.6 and that broke SP2, I already made a fix and PM you.

@theANMATOR2b heANMATOR2b : Thanks a lot for showing your interest. Yes, this one is for bigger project with many assets when you can not switch platform quickly because Unity keeps reimport assets for each platform.

Best regards, and thanks again!

p/s : An update for SP2 v0.9.9 is on the way making SP2 compatible with Unity 5.6

1 Like