Page 1 of 1

creating offline profile crash.

Posted: 2020-05-25 00:33
by Ason
Launcher crash when trying to create offline profile.

Image

Code: Select all

Project Reality Log File
PRLauncher.exe started at: 2020-05-24T22:46:35

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

Object reference not set to an instance of an object.

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.NullReferenceException: Object reference not set to an instance of an object.
   at ??. ?. ()
   at Reality.BF2.Settings.Video. . (String )
   at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
   at Reality.BF2.Settings.Video.GetDefaultResolution()
   at Reality.BF2.Settings.Video.CreateDefault(UInt16 )
   at Reality.BF2.Accounts.ProfileManager. (String , ProfileType , UInt16 )
   at Reality.BF2.Accounts.ProfileManager.CreateLocalOfflineProfile(String , LocalProfile& )
   at PRLauncher.WPF.ViewModel.Pages.CreateProfilePageViewModel.a()
   at PRLauncher.WPF.ViewModel.Pages.CreateProfilePageViewModel.c.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)