Homebrew Question Trouble building for Swich with Unity3D

mcdij

Active Member
OP
Newcomer
Joined
Dec 2, 2018
Messages
41
Trophies
0
Age
44
XP
250
Country
United States
I don't have this one, but generally you can only expect one of these SDKs to work with the version they're bundled with.

The 9.2 was confirmed to work from Unity 2019.2.11 up to Unity 2020.1.0b8. Was hoping it would run in a later version.
 

Manurocker95

Game Developer & Pokémon Master
Member
Joined
May 29, 2016
Messages
1,512
Trophies
0
Age
29
Location
Madrid
Website
manuelrodriguezmatesanz.com
XP
2,811
Country
Spain
I understand that this only exports NSP and not NRO as it's the official Nintendo SDK right?
Is there any open source alternative?
you can make devkitpro to compile like the sdk but you will need to make your own unity compiling system
 
Last edited by Manurocker95,

hippy dave

BBMB
Member
Joined
Apr 30, 2012
Messages
9,955
Trophies
2
XP
30,483
Country
United Kingdom
I understand that this only exports NSP and not NRO as it's the official Nintendo SDK right?
Is there any open source alternative?
It's not Unity, but Godot is comparable to a point, and can be built for Switch with the homebrew toolchain, plus the whole engine is open source if that helps https://github.com/Stary2001/godot
 

Imancol

Otak Productions
Member
Joined
Jun 29, 2017
Messages
1,376
Trophies
0
XP
2,778
Country
Colombia
It's not Unity, but Godot is comparable to a point, and can be built for Switch with the homebrew toolchain, plus the whole engine is open source if that helps https://github.com/Stary2001/godot
That's great and a good alternative. But I find it disappointing that almost no one has used it and released Godot games for Homebrew
 
  • Like
Reactions: hippy dave

lyokohack

Well-Known Member
Member
Joined
Apr 2, 2018
Messages
294
Trophies
0
Age
27
XP
1,054
Country
France
I have my nsp, but when I copy the archive "prodencrypt-Unity-fix" into the SDK for the decrypt I get these errors

Authoring .nsp ROM file failed with command C:\NintendoSDK\Tools\CommandLineTools\AuthoringTool\AuthoringTool.exe createnspmeta -o "C:\Users\s\Desktop\Nouveau dossier (3)\New Unity Project\Temp\StagingArea\SwitchPlayer.nspd" --meta "C:\Users\s\Desktop\Nouveau dossier (3)\New Unity Project\Temp\StagingArea\Application.aarch64.lp64.nmeta" --type Application
at UnityEditor.Switch.PostProcessSwitch.PostProcess (UnityEditor.BuildTarget target, UnityEditor.BuildOptions options, System.String installPath, System.String stagingAreaData, System.String stagingArea, System.String playerPackage, System.String stagingAreaDataManaged, UnityEditor.RuntimeClassRegistry usedClassRegistry, UnityEditor.Build.Reporting.BuildReport report) [0x00abc] in C:\buildslave\unity\build\PlatformDependent\Switch\Editor\Managed\PostProcessSwitch.cs:407
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)


System.String playerPackage, System.String stagingAreaDataManaged, UnityEditor.RuntimeClassRegistry usedClassRegistry, UnityEditor.Build.Reporting.BuildReport report) (at C:/buildslave/unity/build/PlatformDependent/Switch/Editor/Managed/PostProcessSwitch.cs:537)
UnityEditor.Switch.SwitchBuildPostprocessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args) (at C:/buildslave/unity/build/PlatformDependent/Switch/Editor/Managed/ExtensionModule.cs:448)
UnityEditor.Modules.DefaultBuildPostprocessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args, UnityEditor.BuildProperties& outProperties) (at <cf7d2c2e83f749e8943578126f9eff4b>:0)
UnityEditor.PostprocessBuildPlayer.Postprocess (UnityEditor.BuildTargetGroup targetGroup, UnityEditor.BuildTarget target, System.String installPath, System.String companyName, System.String productName, System.Int32 width, System.Int32 height, UnityEditor.BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry, UnityEditor.Build.Reporting.BuildReport report) (at <cf7d2c2e83f749e8943578126f9eff4b>:0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

Build completed with a result of 'Failed' in 25 seconds (25214 ms)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)


UnityEditor.BuildPlayerWindow+BuildMethodException: 4 errors
at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (UnityEditor.BuildPlayerOptions options) [0x002bb] in <cf7d2c2e83f749e8943578126f9eff4b>:0
at UnityEditor.BuildPlayerWindow.CallBuildMethods (System.Boolean askForBuildLocation, UnityEditor.BuildOptions defaultBuildOptions) [0x00080] in <cf7d2c2e83f749e8943578126f9eff4b>:0
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
 

Imancol

Otak Productions
Member
Joined
Jun 29, 2017
Messages
1,376
Trophies
0
XP
2,778
Country
Colombia
Has anyone managed to get this version to work?
aHR0cHM6Ly9iZXRhLnVuaXR5M2QuY29tL2Rvd25sb2FkLzBiNWU5YTFjLTAxMzQtNDU1Yi1hMWZkLTMyOGMyOWVlZjE3Yi9Vbml0eVNldHVwLU5pbnRlbmRvLVN3aXRjaC1TdXBwb3J0LWZvci1FZGl0b3ItMjAyMS4yLjBiMTEuZXhl

It doesn't load any scenes and I get a dark screen and a crash
 

Manurocker95

Game Developer & Pokémon Master
Member
Joined
May 29, 2016
Messages
1,512
Trophies
0
Age
29
Location
Madrid
Website
manuelrodriguezmatesanz.com
XP
2,811
Country
Spain
Has anyone managed to get this version to work?
aHR0cHM6Ly9iZXRhLnVuaXR5M2QuY29tL2Rvd25sb2FkLzBiNWU5YTFjLTAxMzQtNDU1Yi1hMWZkLTMyOGMyOWVlZjE3Yi9Vbml0eVNldHVwLU5pbnRlbmRvLVN3aXRjaC1TdXBwb3J0LWZvci1FZGl0b3ItMjAyMS4yLjBiMTEuZXhl

It doesn't load any scenes and I get a dark screen and a crash

Working on 2021.2.15f1
 

Imancol

Otak Productions
Member
Joined
Jun 29, 2017
Messages
1,376
Trophies
0
XP
2,778
Country
Colombia
Working on 2021.2.15f1
I don't know what you did but it doesn't work

1648662467312.png

Library\PackageCache\[email protected]\Runtime\EventSystem\UIElements\PanelEventHandler.cs(194,62): error CS1503: Argument 2: cannot convert from 'UnityEngine.UIElements.PanelEventHandler.PointerEvent' to 'UnityEngine.Vector3'

Error building Player because scripts had compiler errors

Build completed with a result of 'Failed' in 2 seconds (2240 ms)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

UnityEditor.BuildPlayerWindow+BuildMethodException: 2 errors
at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (UnityEditor.BuildPlayerOptions options) [0x002d8] in <2919c21692194bd4aadcc86b58da6722>:0
at UnityEditor.BuildPlayerWindow.CallBuildMethods (System.Boolean askForBuildLocation, UnityEditor.BuildOptions defaultBuildOptions) [0x00080] in <2919c21692194bd4aadcc86b58da6722>:0
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
 
Last edited by Imancol,

Manurocker95

Game Developer & Pokémon Master
Member
Joined
May 29, 2016
Messages
1,512
Trophies
0
Age
29
Location
Madrid
Website
manuelrodriguezmatesanz.com
XP
2,811
Country
Spain
I don't know what you did but it doesn't work

View attachment 304015
Library\PackageCache\[email protected]\Runtime\EventSystem\UIElements\PanelEventHandler.cs(194,62): error CS1503: Argument 2: cannot convert from 'UnityEngine.UIElements.PanelEventHandler.PointerEvent' to 'UnityEngine.Vector3'

Error building Player because scripts had compiler errors

Build completed with a result of 'Failed' in 2 seconds (2240 ms)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

UnityEditor.BuildPlayerWindow+BuildMethodException: 2 errors
at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (UnityEditor.BuildPlayerOptions options) [0x002d8] in <2919c21692194bd4aadcc86b58da6722>:0
at UnityEditor.BuildPlayerWindow.CallBuildMethods (System.Boolean askForBuildLocation, UnityEditor.BuildOptions defaultBuildOptions) [0x00080] in <2919c21692194bd4aadcc86b58da6722>:0
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
Welp, it's working for me on 2021.2.17f1 as well x)
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Psionic Roshambo @ Psionic Roshambo: https://store.santent.in/products/fag-detector-iii-vibration-monitoring-system