Repository navigation
Conversation
…ia GameSettings.json "EnableVRDeviceSimulator" (lost in the split) The experimental branch's 3579967 read the flag from GameSettings(.dev).json in builds; develop only had DeveloperConfig's, so the JSON key was ignored silently. ConfigService.EffectiveEnableVRDeviceSimulator: Editor DeveloperConfig, builds the JSON (never on mobile). With the simulator on, a build stops XR so a running headset/SteamVR doesn't drive the camera; seated default height, no spectator camera.
JaXt0r
reviewed
Nov 24, 2026
| public string LogLevel; | ||
| public string LogCategories; | ||
| // PC builds: the keyboard/mouse device simulator instead of a headset (the Editor uses DeveloperConfig's). | ||
| public bool EnableVRDeviceSimulator; |
Contributor
There was a problem hiding this comment.
This shouldn't be in a user setting. Why do we want to have it? If you need it in a prod build, just add it inside GameSettings.asset directly.
Contributor
There was a problem hiding this comment.
Quick one about why: I would like to have the main setting file super small for our gamers. A simulator is for devs and should not be a setting for them.
Contributor
|
@BoroBongo - If you don't really really really (desperately ;-) ) need it, I'd like to push back on this one. I removed it by design to have only the least settings in this file for our gamers only. |
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.
What
PC builds can start with the keyboard/mouse device simulator again:
"EnableVRDeviceSimulator": trueinGameSettings.json/GameSettings.dev.json.ConfigService.EffectiveEnableVRDeviceSimulator: the Editor usesDeveloperConfig.EnableVRDeviceSimulator; builds use the JSON key. Always off on mobile.StopXRForSimulator), so a running headset/SteamVR doesn't drive the camera; mouse and keyboard own the rig. It also gets the seated default height and no spectator camera, as in the Editor.GameSettings.jsongets the key (false).Why
Playtest: the key in
GameSettings.dev.jsondid nothing in a fresh PC build. It was lost in the split: the experimental branch's357996770read it from the JSON in builds, but develop only had the DeveloperConfig flag, so the JSON key was ignored silently.How to test manually
Gothic-Unity_Data/StreamingAssets/GameSettings.dev.json:"EnableVRDeviceSimulator": true. Start without the headset: the game shows in the window, WASD/mouse move the player, Q/E + mouse move the hands (F1 shows the simulator help).false: the build starts in VR as before.DeveloperConfig.EnableVRDeviceSimulatorstill decides there.Save/load
No new state.
Known gaps / follow-ups