[CEF issue] outplayed window failed to load the backup file

Issue Description:
User complained that outplayed did not work on his pc.

Overwolf Support
Hey i have a user on Discord whose Outplayed is stuck on opening, they already tried performing a clean installation of Overwolf and Overwolf itself opens correctly. From their logs: Raw error message: "localStorage State Corrupted. Integrity file found, but no matching entry found in localStorage (Backup flow)

Upon farther inspection of his logs we see that outplayed attempted to use the backflow but then the log is cut.
We found an issue in OW logs that might pinpoint the problem:

2021-07-28 06:40:08,229 (INFO) process command Line:
2021-07-28 06:40:08,237 (INFO) =====================
2021-07-28 06:40:08,238 (INFO) C:\Program Files (x86)\Overwolf\0.174.87.16\OverwolfBrowser.exe --type=renderer --no-sandbox --autoplay-policy=no-user-gesture-required --js-flags=--expose-gc --log-file=C:\Users\tiana\AppData\Local\Overwolf\Log\OverwolfCEF_15592.log --field-trial-handle=5148,17846604880821524822,8669257781995074946,131072 --enable-features=CastMediaRouteProvider --disable-features=CookiesWithoutSameSiteMustBeSecure,HeavyAdIntervention,HeavyAdPrivacyMitigations,PictureInPicture,ProcessSharingWithDefaultSiteInstances,SameSiteByDefaultCookies,SpareRendererForSitePerProcess,UseModernMediaControls,WinUseBrowserSpellChecker --lang=en-US --locales-dir-path=C:\Program Files (x86)\Overwolf\0.174.87.16\Locales --log-file=C:\Users\tiana\AppData\Local\Overwolf\Log\OverwolfCEF_15592.log --log-severity=error --user-agent=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36 OverwolfClient/0.174.87.16 --disable-pdf-extension --uncaught-exception-stack-size=20 --owapp=Outplayed - background --ow-enable-features --uid=cghphpbjeabdkomiphingnegihoigeggcfphdofo --ow-allow-internal --ow-permissions=143088 --ignore-certificate-errors --enable-owc --uid=cghphpbjeabdkomiphingnegihoigeggcfphdofo --ow-process-id=15592 --device-scale-factor=1 --num-raster-threads=4 --enable-main-frame-before-activation --renderer-client-id=7 --mojo-platform-channel-handle=10536 /prefetch:1
2021-07-28 06:40:08,239 (INFO) active frames:
2021-07-28 06:40:08,239 (INFO) ================
2021-07-28 06:40:08,240 (INFO) url: 'overwolf-extension://cghphpbjeabdkomiphingnegihoigeggcfphdofo/background.html' name:'background'
2021-07-28 06:40:08,240 (INFO) 
2021-07-28 06:40:08,240 (ERROR) error executing func : readTextFile
2021-07-28 06:40:08,241 (ERROR) exception
System.NullReferenceException: Object reference not set to an instance of an object.
   at Xilium.CefGlue.CefV8Value.CreateArguments(CefV8Value[] arguments)
   at Xilium.CefGlue.CefV8Value.ExecuteFunction(CefV8Value obj, CefV8Value[] arguments)
   at CEFBrowserProcess.CefFunc.Execute(CefListValue list)

User’s OW Version: 0.174.87.16

Can you reproduce it (exact steps to reproduce): No

Impact for my app: High - Even though we didn’t get a lot of reports, user cannot use the app

Do you currently have a workaround? No

User Logs: OverwolfLogs_2021-07-28_06-43-31.zip (81.2 KB)

readTextFile() - Is it the OW API function?

I believe it might be.

Our app’s log gets cut right before we try and read a text file from appdata, and then we see this exception on OW logs.

@shir.brass, is it just a one-user issue? Without steps to reproduce, it will be hard to find the issue.
I will escalate it to the R&D.

Unfrotunately, this happened to only one user
We discovered it while going through a users log and don’t have exact steps to reproduce.

I attached the full log here:

hope that it contains enough information