playMaker

Author Topic: Playmaker working on Nintendo Switch (Full Setup)  (Read 9605 times)

createasaurus

  • Full Member
  • ***
  • Posts: 146
Playmaker working on Nintendo Switch (Full Setup)
« on: November 29, 2017, 07:06:43 AM »
Prerequisites:
1. Register as a Nintendo Developer 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
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
« Last Edit: November 29, 2017, 08:51:41 AM by createasaurus »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Playmaker working on Nintendo Switch (Full Setup)
« Reply #1 on: November 30, 2017, 01:29:15 AM »
Hi,

 Excellent, thanks for sharing!

 Bye,

 Jean

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7615
    • jinxtergames
Re: Playmaker working on Nintendo Switch (Full Setup)
« Reply #2 on: November 30, 2017, 04:18:21 PM »
Hi.
Very nice!
Maybe a dedicated Git would be nice so we could make a nintendo switch action package for the Ecosystem  :D

Just

  • Playmaker Newbie
  • *
  • Posts: 41
Re: Playmaker working on Nintendo Switch (Full Setup)
« Reply #3 on: November 30, 2017, 05:13:14 PM »
I'm proud of everyone that got in Switch development.

Keep living of your dream, and keep striving for even better!
« Last Edit: November 30, 2017, 05:18:08 PM by Just »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Playmaker working on Nintendo Switch (Full Setup)
« Reply #4 on: December 01, 2017, 01:02:48 AM »
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

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7615
    • jinxtergames
Re: Playmaker working on Nintendo Switch (Full Setup)
« Reply #5 on: December 01, 2017, 03:25:26 AM »
Hi jean.
Quote
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 :
Quote
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 :)

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Playmaker working on Nintendo Switch (Full Setup)
« Reply #6 on: December 04, 2017, 02:35:38 AM »
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

bryan

  • Playmaker Newbie
  • *
  • Posts: 1
Re: Playmaker working on Nintendo Switch (Full Setup)
« Reply #7 on: December 07, 2017, 04:44:48 AM »
Excellent!

charming_fox

  • Junior Playmaker
  • **
  • Posts: 62
Re: Playmaker working on Nintendo Switch (Full Setup)
« Reply #8 on: February 02, 2018, 04:21:18 AM »
Hi guys,

I am working with a Nintendo Switch EDEV unit and would be very happy to help test out PM support.


jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Playmaker working on Nintendo Switch (Full Setup)
« Reply #9 on: February 07, 2018, 04:08:28 AM »
Hi,

 get in touch with us and we can give you access to the beta.

 Bye,

 Jean

miguelfanclub

  • Full Member
  • ***
  • Posts: 165
Re: Playmaker working on Nintendo Switch (Full Setup)
« Reply #10 on: February 07, 2018, 10:34:19 AM »
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
« Last Edit: February 07, 2018, 10:55:02 AM by miguelfanclub »

charming_fox

  • Junior Playmaker
  • **
  • Posts: 62
Re: Playmaker working on Nintendo Switch (Full Setup)
« Reply #11 on: February 08, 2018, 01:59:31 PM »
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!


miguelfanclub

  • Full Member
  • ***
  • Posts: 165
Re: Playmaker working on Nintendo Switch (Full Setup)
« Reply #12 on: February 09, 2018, 04:56:58 AM »
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)



jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Playmaker working on Nintendo Switch (Full Setup)
« Reply #13 on: February 09, 2018, 05:08:25 AM »
Hi,

 you likely need to delete one of these, have you tried?

 Bye,

 Jean

charming_fox

  • Junior Playmaker
  • **
  • Posts: 62
Re: Playmaker working on Nintendo Switch (Full Setup)
« Reply #14 on: March 09, 2018, 02:54:32 AM »
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!