Skip to content
New issue

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

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

Already on GitHub? # to your account

TestGame doesn't compile build #118

Open
stevenh opened this issue May 23, 2023 · 1 comment · May be fixed by #119
Open

TestGame doesn't compile build #118

stevenh opened this issue May 23, 2023 · 1 comment · May be fixed by #119

Comments

@stevenh
Copy link

stevenh commented May 23, 2023

The TestGame project doesn't compile build when following the instructions detailed here.

There are three errors after building XGamingRuntimeThunks and XGamingRuntime.

Severity	Code	Description	Project	File	Line	Suppression State
Error	CS0103	The name 'defaultQueue' does not exist in the current context	XGamingRuntime	C:\Working\code\gdk-unity-package\Package\Assets\GDK-APIs\Runtime\Source\XBL\Achievements\XblAchievements.cs	58	Active
Severity	Code	Description	Project	File	Line	Suppression State
Error	CS0117	'SDK' does not contain a definition for 'XTaskQueueDispatch'	TestGame	C:\Working\code\gdk-unity-package\Tools\XGamingRuntimeSDK\TestGame\XboxLiveForm.cs	107	Active
Severity	Code	Description	Project	File	Line	Suppression State
Error	CS1501	No overload for method 'XblAchievementsUpdateAchievementAsync' takes 7 arguments	TestGame	C:\Working\code\gdk-unity-package\Tools\XGamingRuntimeSDK\TestGame\XboxLiveForm.cs	188	Active
stevenh added a commit to stevenh/gdk-unity-package that referenced this issue May 23, 2023
Fix the parameters to XblAchievementsUpdateAchievementAsync, removing
the two invalid ones.

Fixes microsoft#118
@stevenh stevenh linked a pull request May 23, 2023 that will close this issue
@stevenh
Copy link
Author

stevenh commented May 23, 2023

Seems the first two are just visual with Visual Studio 2019 / 2022 not understanding the code properly when files are open in editor.

The only real failure is the incorrect parameters to XblAchievementsUpdateAchievementAsync.

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

Successfully merging a pull request may close this issue.

1 participant