Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FNASubmodule fork] Error on standard platformer creation #1637

Closed
ValorZard opened this issue Nov 15, 2024 · 1 comment
Closed

[FNASubmodule fork] Error on standard platformer creation #1637

ValorZard opened this issue Nov 15, 2024 · 1 comment

Comments

@ValorZard
Copy link

(Currently, you have to manually go in and select the FNA template)

Plugin also failed during shutdown
C:/Github/FlatRedBall/FRBDK/Glue/Glue/bin/Debug/Plugins/GumPlugin/GumPlugin.dll
System.ComponentModel.Win32Exception (2): An error occurred trying to start process 'Plugins/GumPlugin/Tools/GumProjectFontGenerator/GumProjectFontGenerator.exe' with working directory 'C:\Github\FlatRedBall\FRBDK\Glue\Glue\bin\Debug'. The system cannot find the file specified.
   at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
   at System.Diagnostics.Process.Start()
   at GumPlugin.MainGumPlugin.<>c__DisplayClass37_0.<<HandleBuildMissingFonts>b__0>d.MoveNext() in C:\Github\FlatRedBall\FRBDK\Glue\GumPlugin\GumPlugin\MainGumPlugin.cs:line 850
--- End of stack trace from previous location ---
   at FlatRedBall.Glue.Tasks.GlueAsyncTask.Do_Action_Internal() in C:\Github\FlatRedBall\FRBDK\Glue\Glue\Tasks\GlueTask.cs:line 114
   at FlatRedBall.Glue.Managers.TaskManager.RunTask(GlueTaskBase task, Boolean markAsCurrent) in C:\Github\FlatRedBall\FRBDK\Glue\Glue\Tasks\TaskManager.cs:line 369
   at FlatRedBall.Glue.Managers.TaskManager.AddOrRunIfTasked(Func`1 func, String displayInfo, TaskExecutionPreference executionPreference, Boolean doOnUiThread) in C:\Github\FlatRedBall\FRBDK\Glue\Glue\Tasks\TaskManager.cs:line 535
   at FlatRedBall.Glue.Managers.TaskManager.AddAsync(Func`1 func, String displayInfo, TaskExecutionPreference executionPreference, Boolean doOnUiThread) in C:\Github\FlatRedBall\FRBDK\Glue\Glue\Tasks\TaskManager.cs:line 485
   at GumPlugin.MainGumPlugin.HandleBuildMissingFonts() in C:\Github\FlatRedBall\FRBDK\Glue\GumPlugin\GumPlugin\MainGumPlugin.cs:line 794
   at GumPlugin.Managers.NewGumProjectCreationLogic.<>c__DisplayClass3_0.<<CreateGumProjectInternal>b__0>d.MoveNext() in C:\Github\FlatRedBall\FRBDK\Glue\GumPlugin\GumPlugin\Managers\NewGumProjectCreationLogic.cs:line 97
--- End of stack trace from previous location ---
   at FlatRedBall.Glue.Tasks.GlueAsyncTask.Do_Action_Internal() in C:\Github\FlatRedBall\FRBDK\Glue\Glue\Tasks\GlueTask.cs:line 114
   at FlatRedBall.Glue.Managers.TaskManager.RunTask(GlueTaskBase task, Boolean markAsCurrent) in C:\Github\FlatRedBall\FRBDK\Glue\Glue\Tasks\TaskManager.cs:line 369
   at FlatRedBall.Glue.Managers.TaskManager.AddOrRunIfTasked(Func`1 func, String displayInfo, TaskExecutionPreference executionPreference, Boolean doOnUiThread) in C:\Github\FlatRedBall\FRBDK\Glue\Glue\Tasks\TaskManager.cs:line 535
   at FlatRedBall.Glue.Managers.TaskManager.AddAsync(Func`1 func, String displayInfo, TaskExecutionPreference executionPreference, Boolean doOnUiThread) in C:\Github\FlatRedBall\FRBDK\Glue\Glue\Tasks\TaskManager.cs:line 485
   at GumPlugin.Managers.NewGumProjectCreationLogic.CreateGumProjectInternal(Boolean shouldAlsoAddForms, Boolean askToOverwrite) in C:\Github\FlatRedBall\FRBDK\Glue\GumPlugin\GumPlugin\Managers\NewGumProjectCreationLogic.cs:line 63
   at GumPlugin.MainGumPlugin.CreateGumProjectWithForms(Boolean askToOverwrite) in C:\Github\FlatRedBall\FRBDK\Glue\GumPlugin\GumPlugin\MainGumPlugin.cs:line 750
   at FlatRedBall.Glue.Plugins.PluginManager.<>c__DisplayClass48_0.<<CallPluginMethodAsync>b__0>d.MoveNext() in C:\Github\FlatRedBall\FRBDK\Glue\Glue\Plugins\PluginManager.cs:line 703
--- End of stack trace from previous location ---
   at FlatRedBall.Glue.Plugins.PluginManager.PluginCommand(Func`1 func, PluginContainer container, String message) in C:\Github\FlatRedBall\FRBDK\Glue\Glue\Plugins\PluginManager.cs:line 1990
Missing SourceFile for GameScreenGumRuntime GumScreen in Screens\GameScreen (Screen) : gumproject/Screens/GameScreenGum.gusx

And it doesn't work when you try to run in the editor

Build started at 4:07:03 PM
C:\Users\sraya\OneDrive\Documents\FlatRedBallProjects\another_one\another_one\Screens\GameScreen.Generated.cs(48,17): error CS0246: The type or namespace name 'GameScreenGumRuntime' could not be found (are you missing a using directive or an assembly reference?) [C:\Users\sraya\OneDrive\Documents\FlatRedBallProjects\another_one\another_one\another_one.csproj]```
@vchelaru
Copy link
Owner

I believe this has been fixed by 33cfbc0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants