Playmaker Forum
PlayMaker News => General Discussion => Topic started by: createasaurus on November 29, 2017, 07:06:43 AM
-
Prerequisites:
1. Register as a Nintendo Developer https://developer.nintendo.com/ (https://developer.nintendo.com/)
2. Become approved for Switch Development - (Just) posted some accurate information on the current state of affairs here, forth comment down http://hutonggames.com/playmakerforum/index.php?topic=15033.msg70095#msg70095 (http://hutonggames.com/playmakerforum/index.php?topic=15033.msg70095#msg70095)
3. Get and setup Dev Kit + Switch for Unity
Here is the Full Setup for Playmaker on Nintendo Switch:
Import Playmaker
File/Build Settings/Platform, select Nintendo Switch (of course)
Plugins/PlayMaker/WebGL, check Editor, check Standalone, check Switch
Plugins/PlayMaker, uncheck Editor, uncheck Standalone
Comment out or delete the following Playmaker Actions:
The Entire ProceduralMaterial Folder
MovieTextureAudioSettings
PauseMovieTexture
PlayMovieTexture
SetMaterialMovieTexture
StopMovieTexture
WWWObject
Build and run
Compiles to dev unit!! ;)
Let's all keep helping each other out by sharing custom Switch actions on the Nintendo Switch dev forums. See you there! ;D
Best,
Createasaurus
-
Hi,
Excellent, thanks for sharing!
Bye,
Jean
-
Hi.
Very nice!
Maybe a dedicated Git would be nice so we could make a nintendo switch action package for the Ecosystem :D
-
I'm proud of everyone that got in Switch development.
Keep living of your dream, and keep striving for even better!
-
Hi,
I am thinking that instead of making a dedicated package, we should simply properly edit these actions so that they are disabled on that platform.
I'll raise this to Alex for a possible update on this.
Bye,
Jean
-
Hi jean.
I am thinking that instead of making a dedicated package, we should simply properly edit these actions so that they are disabled on that platform.
i mend a dedicated package for this part :
Let's all keep helping each other out by sharing custom Switch actions on the Nintendo Switch dev forums. See you there! ;D
If a git is used all the actions can be reached both in pm and NSD forums :)
-
Hi,
I talked to Alex, the next update will feature proper handling of Switch for the necessary actions. So this is going to be officially supported with no additional steps.
bye,
Jean
-
Excellent!
-
Hi guys,
I am working with a Nintendo Switch EDEV unit and would be very happy to help test out PM support.
-
Hi,
get in touch with us and we can give you access to the beta.
Bye,
Jean
-
I have both kits as well
Can you clarify this?
"Plugins/PlayMaker/WebGL, check Editor, check Standalone, check Switch
Plugins/PlayMaker, uncheck Editor, uncheck Standalone"
Dont see those options
-
Hi miguelfanclub,
For me, the instructions kindly posted by createasaurus didn't quite work for me, I still had compile errors and couldn't generate the build. I'm a little tied up with an impending Steam launch but I should be able to run through the steps again next week and see how it goes. I'll report findings in whatever way Jean etc feel is best!
-
Same for me, it didnt work after doing same setup.
error CS1704: An assembly with the same name `PlayMaker' has already been imported. Consider removing one of the references or sign the assembly
Assets/plugins/PlayMaker/PlayMaker.dll (Location of the symbol related to previous error)
Assets/plugins/PlayMaker/WebGL/PlayMaker.dll (Location of the symbol related to previous error)
UnityEditor.BuildPlayerWindow+BuildMethodException: 2 errors
at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (BuildPlayerOptions options) [0x00207] in C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods.cs:172
at UnityEditor.BuildPlayerWindow.CallBuildMethods (Boolean askForBuildLocation, BuildOptions defaultBuildOptions) [0x00050] in C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods.cs:83
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
-
Hi,
you likely need to delete one of these, have you tried?
Bye,
Jean
-
Hi, just wanting to add in my journey so far with getting Unity to build:
Unity version: 5.6.5p1
Playmaker version: 1.8.4
1 - Installed the Nintendo Plugin
2 - Changed platform in Unity to Nintendo Switch
3 - Attempting to build causes 999+ errors and fails due to playmaker import settings
4 - Changed import settings on plugins/playmaker/playmaker.dll to include Nintendo Switch
5 - Now attempting to play or build results in 'Error building Player because scripts had compiler errors' yet no errors were displayed
6 - Closed and reopened Unity, game now runs in editor
7 - Building fails now due to error 'Assets/PlayMaker/Actions/ComponentAction.cs(60,19): error CS0246: The type or namespace name `NetworkView' could not be found. Are you missing an assembly reference?'
8 - Added "UNITY_SWITCH ||" to line 59 of ComponentAction.cs to exclude Switch from the latter part of the script concerning NetworkView.
9 - Then had 29 new errors (The type or namespace name `MovieTexture' could not be found. Are you missing an assembly reference?) , relating to the following PM actions:
MovieTextureAudioSettings.cs, PlayMovieTexture.cs, PauseMovietexture.cs, RebuildTextures.cs, SetProceduralXXX.cs, SetMaterialMovieTexture.cs, StopMovieTexture.cs, WWWObject.cs
10 - I thought I didn't need these actions so moved them out of the project and can now build!
-
Hi,
Thanks for these clear steps. The current beta is already taking into account the few scripts that have issues, so now it will be then a matter of setting up the dll properly.
Bye,
Jean
-
Has anything changed since this topic was last updated? Earlier messages talked about a possible dedicated Git directory for Switch actions and possible official PM support to set it up. Any of this come to be, or have set up instructions changed?
-
Hi,
I am not aware of any move on that, but hopefully we can integrate some of these changes in the coming updates.
Bye,
Jean
-
Hi.
What specific switch actions are you looking for?
So far we used standard actions (and standard custom actions)
and all works fine so far.
Only issue we had is with easy save but not because of the actions, but the way to save data.
Using unity 2018.4.13f1 and playmaker 1.9.0p19
-
Hi.
What specific switch actions are you looking for?
I think when I asked that I had in mind simply just the input stuff. Normally I use InControl for controller actions... anyone have any experience with using that for Switch? And though I'm not specifically wanting it yet, would it be hard to use the motion control that switch controllers have?
Oh and if Easy Save doesn't work, does anyone have any suggested alternatives? What about PlayerPrefs? Is that compatible? Otherwise I'm really wondering what the process would be to even save things like settings and player progress.
-
Hi.
We use Rewired, but i think InControl Should be capable as well.
for motion control i do not know tho.
For easy save you can use it but you need to do some coding as you need a part from the api of the switch (which is not allowed to be shared, therefore not officially supported, same as for playstation)
https://docs.moodkie.com/easy-save-2/supported-platforms/