Help! I Failed to build from Unity to Wii U

TheCrossovers

Member
OP
Newcomer
Joined
Sep 9, 2021
Messages
17
Trophies
0
Age
50
XP
55
Country
Korea, South
here is the full error log:

Exception: Environment variable GHS_ROOT not found. Add it to the program environment or assign it in Editor preferences.
UnityEditor.WiiU.PostProcessCafePlayer+CafeUtils+CafeSdkEnv..ctor (System.String propSdk, System.String propGhs) (at C:/buildslave/unity/build/PlatformDependent/WiiU/Editor/Managed/PostProcessWiiUPlayer.cs:76)
UnityEditor.WiiU.PostProcessCafePlayer+CafeUtils.CreateSdkEnv () (at C:/buildslave/unity/build/PlatformDependent/WiiU/Editor/Managed/PostProcessWiiUPlayer.cs:107)
UnityEditor.WiiU.PostProcessCafePlayer.PostProcess (BuildTarget target, BuildOptions options, System.String installPath, System.String stagingAreaData, System.String stagingArea, System.String productName, System.String playerPackage, System.String stagingAreaDataManaged) (at C:/buildslave/unity/build/PlatformDependent/WiiU/Editor/Managed/PostProcessWiiUPlayer.cs:1520)
UnityEditor.WiiU.WiiUBuildPostprocessor.PostProcess (BuildPostProcessArgs args) (at C:/buildslave/unity/build/PlatformDependent/WiiU/Editor/Managed/ExtensionModule.cs:69)
UnityEditor.PostprocessBuildPlayer.Postprocess (BuildTargetGroup targetGroup, BuildTarget target, System.String installPath, System.String companyName, System.String productName, Int32 width, Int32 height, BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry, UnityEditor.BuildReporting.BuildReport report) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/PostprocessBuildPlayer.cs:263)
UnityEditor.HostView: OnGUI()

version is 2017.1.2p3 , Any help would be appreciated
 

TheCrossovers

Member
OP
Newcomer
Joined
Sep 9, 2021
Messages
17
Trophies
0
Age
50
XP
55
Country
Korea, South
here is the full error log:

Exception: Environment variable GHS_ROOT not found. Add it to the program environment or assign it in Editor preferences.
UnityEditor.WiiU.PostProcessCafePlayer+CafeUtils+CafeSdkEnv..ctor (System.String propSdk, System.String propGhs) (at C:/buildslave/unity/build/PlatformDependent/WiiU/Editor/Managed/PostProcessWiiUPlayer.cs:76)
UnityEditor.WiiU.PostProcessCafePlayer+CafeUtils.CreateSdkEnv () (at C:/buildslave/unity/build/PlatformDependent/WiiU/Editor/Managed/PostProcessWiiUPlayer.cs:107)
UnityEditor.WiiU.PostProcessCafePlayer.PostProcess (BuildTarget target, BuildOptions options, System.String installPath, System.String stagingAreaData, System.String stagingArea, System.String productName, System.String playerPackage, System.String stagingAreaDataManaged) (at C:/buildslave/unity/build/PlatformDependent/WiiU/Editor/Managed/PostProcessWiiUPlayer.cs:1520)
UnityEditor.WiiU.WiiUBuildPostprocessor.PostProcess (BuildPostProcessArgs args) (at C:/buildslave/unity/build/PlatformDependent/WiiU/Editor/Managed/ExtensionModule.cs:69)
UnityEditor.PostprocessBuildPlayer.Postprocess (BuildTargetGroup targetGroup, BuildTarget target, System.String installPath, System.String companyName, System.String productName, Int32 width, Int32 height, BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry, UnityEditor.BuildReporting.BuildReport report) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/PostprocessBuildPlayer.cs:263)
UnityEditor.HostView: OnGUI()

version is 2017.1.2p3 , Any help would be appreciated
solved! but i got new error:

ArgumentException: The Assembly mscorlib is referenced by UnityEngine ('C:/Program Files/Unity/Hub/Editor/2019.4.31f1/Editor/Data/PlaybackEngines/WiiUPlayer/Managed/UnityEngine.dll'). But the dll is not allowed to be included or could not be found.
UnityEditor.AssemblyHelper.AddReferencedAssembliesRecurse (System.String assemblyPath, System.Collections.Generic.List`1[T] alreadyFoundAssemblies, System.String[] allAssemblyPaths, System.String[] foldersToSearch, System.Collections.Generic.Dictionary`2[TKey,TValue] cache, UnityEditor.BuildTarget target) (at C:/buildslave/unity/build/Editor/Mono/AssemblyHelper.cs:142)
UnityEditor.AssemblyHelper.FindAssembliesReferencedBy (System.String[] paths, System.String[] foldersToSearch, UnityEditor.BuildTarget target) (at C:/buildslave/unity/build/Editor/Mono/AssemblyHelper.cs:179)
UnityEditor.HostView: OnGUI()
 

TheCrossovers

Member
OP
Newcomer
Joined
Sep 9, 2021
Messages
17
Trophies
0
Age
50
XP
55
Country
Korea, South
solved! but i got new error:

ArgumentException: The Assembly mscorlib is referenced by UnityEngine ('C:/Program Files/Unity/Hub/Editor/2019.4.31f1/Editor/Data/PlaybackEngines/WiiUPlayer/Managed/UnityEngine.dll'). But the dll is not allowed to be included or could not be found.
UnityEditor.AssemblyHelper.AddReferencedAssembliesRecurse (System.String assemblyPath, System.Collections.Generic.List`1[T] alreadyFoundAssemblies, System.String[] allAssemblyPaths, System.String[] foldersToSearch, System.Collections.Generic.Dictionary`2[TKey,TValue] cache, UnityEditor.BuildTarget target) (at C:/buildslave/unity/build/Editor/Mono/AssemblyHelper.cs:142)
UnityEditor.AssemblyHelper.FindAssembliesReferencedBy (System.String[] paths, System.String[] foldersToSearch, UnityEditor.BuildTarget target) (at C:/buildslave/unity/build/Editor/Mono/AssemblyHelper.cs:179)
UnityEditor.HostView: OnGUI()
solved again but i got this error again:
Exception: Environment variable GHS_ROOT not found. Add it to the program environment or assign it in Editor preferences.
UnityEditor.WiiU.PostProcessCafePlayer+CafeUtils+CafeSdkEnv..ctor (System.String propSdk, System.String propGhs) (at C:/buildslave/unity/build/PlatformDependent/WiiU/Editor/Managed/PostProcessWiiUPlayer.cs:76)
UnityEditor.WiiU.PostProcessCafePlayer+CafeUtils.CreateSdkEnv () (at C:/buildslave/unity/build/PlatformDependent/WiiU/Editor/Managed/PostProcessWiiUPlayer.cs:107)
UnityEditor.WiiU.PostProcessCafePlayer.PostProcess (BuildTarget target, BuildOptions options, System.String installPath, System.String stagingAreaData, System.String stagingArea, System.String productName, System.String playerPackage, System.String stagingAreaDataManaged) (at C:/buildslave/unity/build/PlatformDependent/WiiU/Editor/Managed/PostProcessWiiUPlayer.cs:1520)
UnityEditor.WiiU.WiiUBuildPostprocessor.PostProcess (BuildPostProcessArgs args) (at C:/buildslave/unity/build/PlatformDependent/WiiU/Editor/Managed/ExtensionModule.cs:69)
UnityEditor.PostprocessBuildPlayer.Postprocess (BuildTargetGroup targetGroup, BuildTarget target, System.String installPath, System.String companyName, System.String productName, Int32 width, Int32 height, BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry, UnityEditor.BuildReporting.BuildReport report) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/PostprocessBuildPlayer.cs:263)
UnityEditor.HostView: OnGUI()
 

Aryamanee

Well-Known Member
Newcomer
Joined
Oct 9, 2020
Messages
55
Trophies
0
Age
23
XP
144
Country
Canada
solved again but i got this error again:
Exception: Environment variable GHS_ROOT not found. Add it to the program environment or assign it in Editor preferences.
UnityEditor.WiiU.PostProcessCafePlayer+CafeUtils+CafeSdkEnv..ctor (System.String propSdk, System.String propGhs) (at C:/buildslave/unity/build/PlatformDependent/WiiU/Editor/Managed/PostProcessWiiUPlayer.cs:76)
UnityEditor.WiiU.PostProcessCafePlayer+CafeUtils.CreateSdkEnv () (at C:/buildslave/unity/build/PlatformDependent/WiiU/Editor/Managed/PostProcessWiiUPlayer.cs:107)
UnityEditor.WiiU.PostProcessCafePlayer.PostProcess (BuildTarget target, BuildOptions options, System.String installPath, System.String stagingAreaData, System.String stagingArea, System.String productName, System.String playerPackage, System.String stagingAreaDataManaged) (at C:/buildslave/unity/build/PlatformDependent/WiiU/Editor/Managed/PostProcessWiiUPlayer.cs:1520)
UnityEditor.WiiU.WiiUBuildPostprocessor.PostProcess (BuildPostProcessArgs args) (at C:/buildslave/unity/build/PlatformDependent/WiiU/Editor/Managed/ExtensionModule.cs:69)
UnityEditor.PostprocessBuildPlayer.Postprocess (BuildTargetGroup targetGroup, BuildTarget target, System.String installPath, System.String companyName, System.String productName, Int32 width, Int32 height, BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry, UnityEditor.BuildReporting.BuildReport report) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/PostprocessBuildPlayer.cs:263)
UnityEditor.HostView: OnGUI()
You need to install ghs multi from the nintendo devportal and add it to the ghs root env. variable
 

TheCrossovers

Member
OP
Newcomer
Joined
Sep 9, 2021
Messages
17
Trophies
0
Age
50
XP
55
Country
Korea, South
here is a screenshot
 

Attachments

  • cyhn.PNG
    cyhn.PNG
    51.2 KB · Views: 64
Last edited by TheCrossovers,

gomgo

Well-Known Member
Newcomer
Joined
Aug 30, 2021
Messages
79
Trophies
0
Location
Spain
Website
gomgoblog.wordpress.com
XP
169
Country
Spain
I'm just geting Empty Folders and all those errors, here the Full Log:
1st: ArgumentException: The Assembly mscorlib is referenced by UnityEngine ('C:/Program Files/Unity/Hub/Editor/2017.1.2f1/Editor/Data/PlaybackEngines/WiiUPlayer/Managed/UnityEngine.dll'). But the dll is not allowed to be included or could not be found. UnityEditor.AssemblyHelper.AddReferencedAssembliesRecurse (System.String assemblyPath, System.Collections.Generic.List`1[T] alreadyFoundAssemblies, System.String[] allAssemblyPaths, System.String[] foldersToSearch, System.Collections.Generic.Dictionary`2[TKey,TValue] cache, UnityEditor.BuildTarget target) (at C:/buildslave/unity/build/Editor/Mono/AssemblyHelper.cs:142) UnityEditor.AssemblyHelper.FindAssembliesReferencedBy (System.String[] paths, System.String[] foldersToSearch, UnityEditor.BuildTarget target) (at C:/buildslave/unity/build/Editor/Mono/AssemblyHelper.cs:179) UnityEditor.HostView:OnGUI() 2nd: Exception: Failed to compile C into .o (C:/Users/user/Downloads/UWiiU\_Intermediate\WiiUStartupConfig.cpp) UnityEditor.WiiU.PostProcessCafePlayer.BuildRPX (UnityEditor.WiiU.PostProcessCafePlayer+CafeUtils+CafeSdkEnv cafeSdk, System.String intermediate, System.String playerPackage, System.Collections.Generic.List`1[T] linkerInput, System.String targetDir, UnityEditor.WiiU.PostProcessCafePlayer+CafeUtils+StartupConfig startup, System.Boolean installInBuildsFolder, System.String elf, System.Boolean enableNetAPI) (at C:/buildslave/unity/build/PlatformDependent/WiiU/Editor/Managed/PostProcessWiiUPlayer.cs:1375) UnityEditor.WiiU.PostProcessCafePlayer.PostProcess (UnityEditor.BuildTarget target, UnityEditor.BuildOptions options, System.String installPath, System.String stagingAreaData, System.String stagingArea, System.String productName, System.String playerPackage, System.String stagingAreaDataManaged) (at C:/buildslave/unity/build/PlatformDependent/WiiU/Editor/Managed/PostProcessWiiUPlayer.cs:1522) UnityEditor.WiiU.WiiUBuildPostprocessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args) (at C:/buildslave/unity/build/PlatformDependent/WiiU/Editor/Managed/ExtensionModule.cs:69) 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.BuildReporting.BuildReport report) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/PostprocessBuildPlayer.cs:263) UnityEditor.HostView:OnGUI() 3rd: UnityEditor.BuildPlayerWindow+BuildMethodException: Build failed with errors. at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (UnityEditor.BuildPlayerOptions options) [0x001b9] in C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods.cs:162 at UnityEditor.BuildPlayerWindow.CallBuildMethods (System.Boolean askForBuildLocation, UnityEditor.BuildOptions defaultBuildOptions) [0x00050] in C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods.cs:83 UnityEditor.HostView:OnGUI()
 
Last edited by gomgo,

CrisMod

Well-Known Member
Member
Joined
May 4, 2020
Messages
411
Trophies
0
Age
38
XP
1,214
Country
Italy
Nope, is the Unity Log Tab

View attachment 284639
Hi @gomgo, one silly question , did you try to compile or place the project into " C:/HERE A FOLDER FOR THE PROJECTS/ ", sometimes to the compiler it doesn't like the subfolders under the User because have to use higher permitions....

And another silly question, it's that your User name folder without any space?
 

CrisMod

Well-Known Member
Member
Joined
May 4, 2020
Messages
411
Trophies
0
Age
38
XP
1,214
Country
Italy
Yes, it doesn't have any space
I'm going to try on C:/Projects Folder/
Ok let me know...after let's try to follow the error, first let's understand why it tells that you don't have the proper ".dll", did you check if there is the "UnityEngine.dll" into the propper tree installation folder?
 

gomgo

Well-Known Member
Newcomer
Joined
Aug 30, 2021
Messages
79
Trophies
0
Location
Spain
Website
gomgoblog.wordpress.com
XP
169
Country
Spain
Hi @gomgo, one silly question , did you try to compile or place the project into " C:/HERE A FOLDER FOR THE PROJECTS/ ", sometimes to the compiler it doesn't like the subfolders under the User because have to use higher permitions....

And another silly question, it's that your User name folder without any space?
@CrisMod Now I'm getting this errors under C:/Projects/WUPTest
1636911232073.png
 

gomgo

Well-Known Member
Newcomer
Joined
Aug 30, 2021
Messages
79
Trophies
0
Location
Spain
Website
gomgoblog.wordpress.com
XP
169
Country
Spain
Ok let me know...after let's try to follow the error, first let's understand why it tells that you don't have the proper ".dll", did you check if there is the "UnityEngine.dll" into the propper tree installation folder?
@CrisMod I have it on C:\Program Files\Unity\Hub\Editor\2017.1.2f1
And yes, i have the UnityEngine.dll File
 

CrisMod

Well-Known Member
Member
Joined
May 4, 2020
Messages
411
Trophies
0
Age
38
XP
1,214
Country
Italy
Why it tells this:

The Assembly mscorlib is referenced by UnityEngine ('C:/Program Files/Unity/Hub/Editor/2017.1.2f1/Editor/Data/PlaybackEngines/WiiUPlayer/Managed/UnityEngine.dll'). But the dll is not allowed to be included or could not be found.

Do you miss some libs into the compiler or PATH? Because it tells that dll is not allowed to be included.....
Try another Stupid test (because I faced in the past with other projects) , try to run Unity as Administrator.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • SylverReZ @ SylverReZ:
    Hope they made lots of spaget
  • K3N1 @ K3N1:
    Chill dog
  • SylverReZ @ SylverReZ:
    Chilli dog
  • Skelletonike @ Skelletonike:
    Damn, I'm loving the new zelda.
  • xtremegamer @ xtremegamer:
    loving the new zelda, i started a game, it was so fucking good, so i
    am waiting on my friend to get home so we can start a new one together
  • Skelletonike @ Skelletonike:
    I just dislike that they don't let me choose the voices before the game starts. Happened with botw as well, had to change to japanese and restart.
  • K3N1 @ K3N1:
    But the important question is can you choose gender
  • Skelletonike @ Skelletonike:
    Same way you can choose Gerald's gender.
  • Skelletonike @ Skelletonike:
    *Geralt, damn autocorrect.
  • Psionic Roshambo @ Psionic Roshambo:
    But can he be trans? Lol
  • K3N1 @ K3N1:
    Zelda transforms into link
  • Psionic Roshambo @ Psionic Roshambo:
    Link I'm not the princess your looking for.... *Pulls a crying game*
  • K3N1 @ K3N1:
    *skirt up* it's exactly what I always wanted
  • Skelletonike @ Skelletonike:
    Just scanned all my zelda amiibos, took a while but didn't get anything that cool, did get the lon lon ranch hylian fabrics though.
  • Skelletonike @ Skelletonike:
    It was pretty funny when I scanned wolf link and got a shit load of meat.
  • K3N1 @ K3N1:
    @Skelletonike, btw I ran that custom for mgs4 on the deck I'm amazed it got that far in game
  • K3N1 @ K3N1:
    Plug in*
  • K3N1 @ K3N1:
    Your favorite activity
  • BentlyMods @ BentlyMods:
    My fav actvity is:

    mario-dancing.gif
  • Psionic Roshambo @ Psionic Roshambo:
    Do the Mario lol
  • K3N1 @ K3N1:
    🍑
  • K3N1 @ K3N1:
    Whoever developed Bramble was smoking that good shit fucking gnomes
    K3N1 @ K3N1: Whoever developed Bramble was smoking that good shit fucking gnomes