Help! I Failed to build from Unity to Wii U

TheCrossovers

Member
OP
Newcomer
Joined
Sep 9, 2021
Messages
17
Trophies
0
Age
51
XP
65
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
51
XP
65
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
51
XP
65
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
24
XP
159
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
51
XP
65
Country
Korea, South
here is a screenshot
 

Attachments

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

gomgo

Well-Known Member
Newcomer
Joined
Aug 30, 2021
Messages
85
Trophies
0
Location
Spain
Website
gomgoblog.wordpress.com
XP
235
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
422
Trophies
0
Age
38
XP
1,357
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
422
Trophies
0
Age
38
XP
1,357
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
85
Trophies
0
Location
Spain
Website
gomgoblog.wordpress.com
XP
235
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
85
Trophies
0
Location
Spain
Website
gomgoblog.wordpress.com
XP
235
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
422
Trophies
0
Age
38
XP
1,357
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.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Xdqwerty @ Xdqwerty: empty chat