Bug Report Profile settings are not saved

hansw

New Member
Synopsis:
Click Settings, make a settings change and click Apply and OK. Re-opening the settings form reverts back to the prior settings for most settings.

I verified that the file is not read only, and that I have permissions. Running OBS as administrator does not make a difference either. The timestamp on the profile gets properly updated.

Editing Encoding:Audio Encoding:bitrate to a different value gets properly saved.
Editing Encoding:Video Encoding:Max Bitrate: does not get saved.
Many other settings do not get saved either such as the hotkeys.
Which settings are or are not saved seemed to be largely depending on the actual data in the ini file

This is the current ini file: C:\Users\xxxxx\AppData\Roaming\OBS\profiles\test.ini:

[Audio]
MicVolume=1.000000
DesktopVolume=1.000000
MicTimeOffset=0
MicBoostMultiple=1
PlaybackDevice=Default
Device={0.0.1.00000000}.{61bdf1c6-2857-4f0e-a0d4-5632ad41897d}

[Video]
BaseHeight=938
BaseWidth=1075
Monitor=0
Downscale=1.000000

[QSV (Advanced)]
TargetKbps=1000

[Publish]
SaveReplayBufferHotkey=0
BindToIP=Default
RecordFromReplayBufferHotkey=0
ReplayBufferSavePath=C:\Users\hvdwal\Videos\Replay-$T.flv
Mode=1

[Video Encoding]
Quality=0


[Audio Encoding]
isStereo=1
Bitrate=256

----
When I create a new profile it does not save the audio encoding either, which did work in the above profile.
Steps to reproduce:
1. Profiles -> New
2. Enter name and click ok

Ini file (C:\Users\xxxxxxxxx\AppData\Roaming\OBS\profiles\CleanProfile.ini:) looks like this:
[Audio]
DesktopVolume=1.000000


3. Click settings button in the main interface
4. Click OK

Ini file looks like this:
[Video Encoding]
UseBufferSize=0

5. Click settings button in the main interface
6. Click encoding tab
7. Click OK

Ini file looks like this (not sure why the data in the ini file changed as no actual settings were changed!):
[Audio Encoding]
Bitrate=96

8. Click settings button in the main interface
9. Click encoding tab
10.Change audio bitrate to 128
11. Click OK

Inifile looks like this:
[Video Encoding]
UseBufferSize=0

Expected result: it should save 128

System info:
- Windows 7 professional SP1, 64 bit
- OBS v0.657b
- I've also installed OBS Studio 0.13.4

----
Log file:
11:44:29: CLR host plugin strings not found, dynamically loading 4 strings
11:44:29: CLRHost::Initialize() attempting to load and start the .NET runtime (null)
11:44:29: CLRHost::Initialize() Found version v2.0.50727 .NET runtime
11:44:29: CLRHost::Initialize() Found version v4.0.30319 .NET runtime
11:44:29: CLRHost::Initialize() attempting to use v4.0.30319 .NET runtime
11:44:29: CLRHost::LoadInteropLibrary() load the assembly plugins\CLRHostPlugin\CLRHost.Interop.dll
11:44:29: CLRHost::LoadPlugins() attempting to load the plugin assembly CLRBrowserSourcePlugin
11:44:29: CLRHost:: Could not find/load browser settings at location C:\Users\xxxxxxx\AppData\Roaming\OBS\pluginData\browser.json
11:44:29: CLRHost:: Exception: System.IO.FileNotFoundException: Could not find file 'C:\Users\xxxxxxx\AppData\Roaming\OBS\pluginData\browser.json'.
11:44:29: File name: 'C:\Users\xxxxxxxxx\AppData\Roaming\OBS\pluginData\browser.json'
11:44:29: at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
11:44:29: at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
11:44:29: at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
11:44:29: at CLRBrowserSourcePlugin.Shared.BrowserSettings.Reload()
11:44:29: CLRHost::LoadPlugins() successfully added CLR plugin [Type: CLRBrowserSourcePlugin.CLRBrowserSourcePlugin, Name: CLR Browser Source Plugin]
11:45:09: No Intel graphics adapter visible in QSVHelper.exe, Optimus problem?
11:45:09: Failed loading CUDA dll
11:51:00: CLR host plugin instance deleted; removing dynamically loaded localization strings
 
Top