Skip to content

Copy default action set to standalone VR projects.#10433

Open
Loafiat wants to merge 1 commit intoFacepunch:masterfrom
Loafiat:master
Open

Copy default action set to standalone VR projects.#10433
Loafiat wants to merge 1 commit intoFacepunch:masterfrom
Loafiat:master

Conversation

@Loafiat
Copy link
Copy Markdown

@Loafiat Loafiat commented Apr 9, 2026

Pull Request

Thanks for contributing to s&box ❤️
Please fill out the sections below to help us review your change efficiently.


Summary

Fixes issue where the default action set wouldn't be copied over to exported standalone projects.

Motivation & Context

Currently when exporting a standalone VR project in S&box the project fails to open in VR, giving the error: "Failed to attach ActionSet to Session". This PR fixes this by including the actionsets in the export if the project supports VR.

Implementation Details

I was debating converting CoreWhitelist to an IEnumerator or adding an empty string which would be set to the right path if your project is in VR mode, but ended up just using Linq to append the path to the array when GetCoreFiles is executed.

Screenshots / Videos (if applicable)

Checklist

  • Code follows existing style and conventions
  • No unnecessary formatting or unrelated changes
  • Public APIs are documented (if applicable)
  • Unit tests added where applicable and all passing
  • I’m okay with this PR being rejected or requested to change 🙂

@Loafiat
Copy link
Copy Markdown
Author

Loafiat commented Apr 10, 2026

Not sure why formatting failed, I checked through and it seems to be all good.

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

Successfully merging this pull request may close these issues.

1 participant