[WIN11] Critical Error: An unhandled exception has occured.

Help and support regarding PR:BF2 installation and in-game issues
Post Reply
Mefju
Posts: 4
Joined: 2013-08-22 20:19

[WIN11] Critical Error: An unhandled exception has occured.

Post by Mefju »

Hello Lads.

After W10 update to W11 I can't use PR anymore. There's an issue:

[html]

Code: Select all

Project Reality Log File
PRLauncher.exe started at: 2022-02-06T13:45:17

Critical Error: An unhandled exception has occured. Details are as follows:

File not found 'C:\Users\xxxx\OneDrive\Dokumenty\ProjectReality\Profiles'.

Further details can be found in the following file:

[url]D:\Gry\RealityMod\mods\pr\bin\PRLauncher.log[/url]

Please report this error to the Project Reality Team, and include the log file in your report.

[url=https://www.realitymod.com/forum/forumdisplay.php?f=27]Visit Support Forum[/url]

 > System.IO.FileNotFoundException: Nie mo?na odnale?? pliku 'C:\Users\xxxx\OneDrive\Dokumenty\ProjectReality\Profiles'.
Nazwa pliku: 'C:\Users\xxxx\OneDrive\Dokumenty\ProjectReality\Profiles'
   w System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   w System.IO.Directory.InternalCreateDirectory(String fullPath, String path, Object dirSecurityObj, Boolean checkHost)
   w System.IO.Directory.InternalCreateDirectoryHelper(String path, Boolean checkHost)
   w Reality.BF2.Settings.Global.CreateDefault()
   w -.f.a()
   w -.f.OnStartup(StartupEventArgs a)
   w System.Windows.Application.<.ctor>b__1_0(Object unused)
   w System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   w System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
[/html]

After triple reinstall I really gave up. How to fix it?
AlonTavor
PR:BF2 Developer
Posts: 2991
Joined: 2009-08-10 18:58

Re: [WIN11] Critical Error: An unhandled exception has occured.

Post by AlonTavor »

PR cannot work with onedrive. Either remove it or make your documents folder local
Post Reply

Return to “PR:BF2 Support”