Page 1 of 1

Cannot login/create new account

Posted: 2025-01-18 21:35
by Shomari
Hi, requesting your help - cannot log in to my old account, neither possible to create a new one. Tried to uninstall the game, delete all associated files, re-install, change the read-write permissions, run as admin, verify the profile files, the issue persists. See the log cited below:

Code: Select all

Project Reality Log File
PRLauncher.exe started at: 2025-01-18T22:24:44

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

Could not find file 'C:\Users\...\Documents\ProjectReality\Profiles\0001'.

Further details can be found in the following file:

[url]C:\Program Files (x86)\Project Reality\Project Reality BF2\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: Could not find file 'C:\Users\...\Documents\ProjectReality\Profiles\0001'.
File name: 'C:\Users\...\Documents\ProjectReality\Profiles\0001'
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.Directory.InternalCreateDirectory(String fullPath, String path, Object dirSecurityObj, Boolean checkHost)
   at System.IO.Directory.InternalCreateDirectoryHelper(String path, Boolean checkHost)
   at Reality.BF2.Accounts.ProfileManager.(String , ProfileType , UInt16 )
   at Reality.BF2.Accounts.ProfileManager.CreateLocalOnlineProfile(String , LocalProfile& )
   at PRLauncher.WPF.ViewModel.Pages.CreateProfilePageViewModel.f.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at PRLauncher.WPF.ViewModel.Pages.CreateProfilePageViewModel.b.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

Re: Cannot login/create new account

Posted: 2025-01-18 22:02
by Shomari
UPD: solution found - Windows defender was silently blocking the access to the folder with profiles regardless of running the launcher as administrator. If anyone has the same issue - allow the access to the folder in the Windows defender. Windows defender > Protection history > select the entry > actions > allow on device.

Re: Cannot login/create new account

Posted: 2025-01-19 00:54
by bad_nade
Shomari wrote: 2025-01-18 22:02 UPD: solution found - Windows defender was silently blocking the access to the folder with profiles regardless of running the launcher as administrator. If anyone has the same issue - allow the access to the folder in the Windows defender. Windows defender > Protection history > select the entry > actions > allow on device.
That "Could not find file" error is universal symptom of Controlled Folder Access blocking file write. If an app says it cannot save the file, saying it's not there, but you know the path is correct, then it's almost 100% of the time caused by Controlled Folder Access.