fix(webgl): exclude Velopack from the WebGL build + WebGL-only attach workflow#151
Merged
Conversation
marceld23
commented
Jun 29, 2026
Owner
…tach workflow The Release workflow built the WebGL player for the first time on the v0.6.2 tag and failed: ClientUpdater.cs guarded Velopack with `#if !UNITY_EDITOR`, which still compiles it for WebGL, but the browser build ships no Velopack DLL (its sync step is desktop-only), so the script compile died with CS0246 'Velopack'. WebGL has no auto-updater anyway (you "update" by reloading the page), so treat it like the Editor: - `using Velopack;` and Bootstrap() now guard on `!UNITY_EDITOR && !UNITY_WEBGL`. - CheckForUpdates() takes the Editor stub branch (`UNITY_EDITOR || UNITY_WEBGL`), reporting NotInstalled instead of touching UpdateManager. Also add .github/workflows/webgl-only.yml: a manual workflow that builds ONLY the WebGL player and attaches it to an existing release (input: release_tag), without rebuilding the desktop installers or Docker image and without touching the release notes. Lets us deliver the v0.6.2 WebGL zip after the fix, and rebuild WebGL for the end-to-end verification tracked in #132. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
marceld23
added a commit
that referenced
this pull request
Jun 29, 2026
Add the v0.6.2 entry to "Released versions" (gameplay polish, oxygen tank tiers I/II/III, easier water exit, station-to-space flora seal, experimental browser client) and mark the oxygen/water work log as shipped (#133). Add a work-log entry for the WebGL release-build fix (Velopack compile guard) + the new webgl-only.yml attach workflow (#151). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.