-
-
Notifications
You must be signed in to change notification settings - Fork 58
fix: Added build cache path for symbol upload when targeting Switch #2580
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -321,6 +321,10 @@ private static void UploadDebugSymbols(IDiagnosticLogger logger, BuildTarget tar | |
| AddPath(paths, dir, logger); | ||
| } | ||
|
|
||
| // When exporting as an NSP the assemblies are bundled inside the package. So we're also checking the build cache. | ||
| var beePath = Path.Combine(buildOutputDir, "Library", "Bee", "artifacts", "SwitchPlayerBuildProgram"); | ||
| AddPath(beePath); | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. AddPath call missing required argumentsHigh Severity
|
||
|
|
||
| // User-provided Sentry plugin | ||
| AddPath(paths, Path.GetFullPath("Assets/Plugins/Sentry/"), logger); | ||
| break; | ||
|
|
||


There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bee cache path uses wrong base directory
High Severity
The Bee build cache path is constructed relative to
buildOutputDir(e.g.,./builds/switch/), butLibrary/Bee/artifacts/SwitchPlayerBuildProgramlives under the Unity project root. The base directory here likely needs to beprojectDir(defined at line 168 fromApplication.dataPath) instead ofbuildOutputDir, otherwise the path will point to a non-existent location.