Facepunch / sbox-issues

173 stars 11 forks source link

Preferred IDE does not persist across launch sessions #5825

Closed Gmod4phun closed 1 month ago

Gmod4phun commented 1 month ago

Describe the bug

Despite setting the preferred IDE to something else (like VSCode), after closing the editor and the launcher, and reopening the editor, the preferred editor is Visual Studio again. This only started being an issue recently.

To Reproduce

  1. Launch editor
  2. Open project
  3. Set preferred IDE to VSCode
  4. Close the editor
  5. Close the launcher
  6. Open the thing again and see that the editor setting did not save

Expected behavior

Setting preferred IDE should persist across sessions

Media/Files

No response

Additional context

No response

DevulTj commented 1 month ago

Do you have any logs that say "Code editor '{editorName}' not found, using default"? Or similar?

Gmod4phun commented 1 month ago

Doesn't seem like it, nothing sus in the logs.

2024/07/15 12:07:11.6362    [engine/RenderSystem] Layer VK_LAYER_RTSS uses API version 1.1 which is older than the application specified API version of 1.2. May cause issues.  
2024/07/15 12:07:11.6480    [engine/RenderSystem] Layer VK_LAYER_ROCKSTAR_GAMES_social_club uses API version 1.0 which is older than the application specified API version of 1.2. May cause issues.    
2024/07/15 12:07:11.8019    [engine/RenderSystem] Vulkan Physical Device: NVIDIA GeForce RTX 3060 Ti    
2024/07/15 12:07:11.9014    [engine/RenderSystem] Additional fossilize database path: H:\SteamLibrary\steamapps\common\sbox\core\vulkan_shader_cache.foz    
2024/07/15 12:07:11.9014    [engine/RenderSystem] Loaded fossilize database in 0.00 seconds total (serial: 0.00s parallel: 0.00s)   
2024/07/15 12:07:11.9014    [engine/RenderSystem] Successfully loaded Steam Shader Pre-cache database and pre-warmed registered shaders, total time: 0.00s (pre-warm time: 0.00s).  
2024/07/15 12:07:11.9014    [engine/RenderSystem] Vulkan driver version: 546.17.0.0 
2024/07/15 12:07:12.8313    [Generic] Waiting for Web Auth Ticket.. 
2024/07/15 12:07:13.7710    [Generic] Waiting for Web Auth Ticket.. 
2024/07/15 12:07:15.4835    [CompileGroup/local] Building 4 compilers   
2024/07/15 12:07:20.4949    [engine/Engine] File sounds/kenney/ui/mouseclick1.wav missing vsnd extension (wav). Fixing for now. 
2024/07/15 12:07:20.4949    [engine/Engine] File sounds/kenney/ui/maximize_008.wav missing vsnd extension (wav). Fixing for now.    
2024/07/15 12:07:21.6311    [CompileGroup/local] Building 2 compilers   
2024/07/15 12:07:23.3530    [GameMenu] Installing Cloud Assets took 0.052s  
2024/07/15 12:07:26.7506    [GameMenu] Compiling assets took 3.392s 
2024/07/15 12:07:27.0571    [engine/ResourceSystem] Error loading resource file "models/sbox_stargate/dhd/dhd_crystals.vmat_c" (Error: ERROR_FILEOPEN: File not found)  
2024/07/15 12:07:27.0571    [engine/ResourceSystem] Error loading resource file "models/sbox_stargate/dhd/dhd_crystal_blue.vmat_c" (Error: ERROR_FILEOPEN: File not found)  
2024/07/15 12:07:27.0571    [engine/ResourceSystem] Error loading resource file "models/sbox_stargate/dhd/dhd_crystal_red.vmat_c" (Error: ERROR_FILEOPEN: File not found)   
2024/07/15 12:07:27.0571    [engine/ResourceSystem] Error loading resource file "models/sbox_stargate/dhd/dhd_crystal_yellow.vmat_c" (Error: ERROR_FILEOPEN: File not found)    
2024/07/15 12:07:27.1064    [engine/ResourceSystem] Error loading resource file "models/sbox_stargate/rings_panel/goauld/goauld_buttons_on.vmat_c" (Error: ERROR_FILEOPEN: File not found)  
2024/07/15 12:07:27.1064    [engine/ResourceSystem] Error loading resource file "models/sbox_stargate/rings_panel/ancient/ancient_buttons_on.vmat_c" (Error: ERROR_FILEOPEN: File not found)    
2024/07/15 12:07:27.9045    [GameMenu] MultiWorld: Collision rules initialized  
2024/07/15 12:07:27.9192    [GameMenu] MultiWorld: Collision rules initialized  
2024/07/15 12:07:27.9192    [GameMenu] MultiWorld: Collision rules initialized  
2024/07/15 12:07:27.9192    [GameMenu] MultiWorld: Collision rules initialized  
2024/07/15 12:07:27.9192    [GameMenu] MultiWorld: Collision rules initialized  
2024/07/15 12:07:27.9359    [GameMenu] MultiWorld: Collision rules initialized  
2024/07/15 12:07:27.9359    [GameMenu] MultiWorld: Collision rules initialized  
2024/07/15 12:07:27.9359    [GameMenu] MultiWorld: Collision rules initialized  
2024/07/15 12:08:11.9446    [engine/ToolFramework2] Shutting down Qt windows.............   
2024/07/15 12:08:11.9446    [engine/Engine] Source2Shutdown 
2024/07/15 12:08:11.9446    [engine/Engine] ShutdownSource2Logging  
solwllms commented 1 month ago

Think this should be sorted now

Gmod4phun commented 1 month ago

Working now, thank you :)