Page 1 of 1

SOLVED Critical Error

Posted: 2019-10-19 14:07
by som241
Unable to open the launcher. I've seen someone fixing this by using a video file (VIDEO.CON in the documents file) from an old installation, but I have never played before.
[html]

Code: Select all

Project Reality Log File
PRLauncher.exe started at: 2019-10-19T14:47:27

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]D:\Application Important\Secondary Games\Battlefield 2\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/f27-pr-bf2-support]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.WhereEnumerableIterator`1.MoveNext()
   at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source)
   at Reality.BF2.Settings.Video.GetDefaultResolution()
   at Reality.BF2.Settings.Video.CreateDefault(UInt16 )
   at -.f.a()
   at -.f.OnStartup(StartupEventArgs a)
   at System.Windows.Application.<.ctor>b__1_0(Object unused)
   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)
[/html]

Re: Critical error

Posted: 2019-10-19 14:34
by AlonTavor
Delete PR folder in my documents and run as admin.

Re: Critical error

Posted: 2019-10-19 15:06
by som241
AlonTavor wrote:Delete PR folder in my documents and run as admin.
Thanks. Managed to get it to open the account screen. It still crashed when I tried to finish creating the account. When I reopened it I got the launch game screen. Tried updating it and got error 1212.

Edit: When trying to launch on the older version I get error 1324.

Re: Critical error

Posted: 2019-10-19 16:20
by som241
Reset my profiles and launched. Now I'm getting error 1322.

Re: Critical error

Posted: 2019-10-19 19:32
by som241
AlonTavor wrote:Delete PR folder in my documents and run as admin.
Fixed it.

Deleted the documents folder. Ran PR Launcher. Copied the BF2 video.con into the Pr default profile. Ran it again and created a profile. Copied the audio.con and the video.com into the new profile and wa-la, the game runs.