Page 1 of 1

Installation error

Posted: 2015-08-20 04:48
by char_22_warlock
when i launch PR with the Project Reality BF2 shortcut it says:

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:

C:\Program Files (x86)\Project Reality BF2\mods\pr\bin\PRlauncher.log

when i click on the file it opens a notepad which says:

Code: Select all

Project Reality Log File
                 PRLauncher.exe started at: 2015-08-20T00:25:18

                 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/f27-pr-bf2-support]Visit Support Forum[/url]

 > System.NullReferenceException: Object reference not set to an instance of an object.
   at Va.h.a()
   at Reality.BF2.Settings.Video.a(String a)
   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 a)
   at -.f.a()
   at -.f.OnStartup(StartupEventArgs a)
   at System.Windows.Application.<.ctor>b__1(Object unused)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
and when i launch the game and it opens it says:

You must use the Project Reality BF2 Launcher in order to play this modification

This is located in the PR:BF2 game directory

Example:
C:\Program Files\EA Games\Battlefield 2\mods\pr\bin\PRLauncher.exe

Re: Installation error

Posted: 2015-08-20 04:59
by DC_K
go to documents
rename projectreality to projectrealityOLD
rerun launcher, fix your settings, try again

make sure you have latest windows updates, direct x, and microsoft .NET

Re: Installation error

Posted: 2015-08-20 17:11
by char_22_warlock
thank you for the help but i tried everything you said and it still says the same error.

Re: Installation error

Posted: 2015-08-21 02:38
by DC_K
how many files are in your documents/projectreality/profiles/0001?


are you running the launcher from here??

C:/ProgramFiles(x86)/Project Reality/Project Reality BF2/mods/pr/

Re: Installation error

Posted: 2015-08-21 15:39
by char_22_warlock
there are 2 files in the documents/ProjectReality/Profiles Global.con, and GlobalLauncher.con

and when i went to the C:\Program Files (x86)/Project Reality/Project Reality BF2/mods/pr , i could not find a launcher for the game, i usually launch it from my desktop's PRBF2 launcher shortcut.

Re: Installation error

Posted: 2015-09-01 23:23
by DC_K
sorry i didn't see this..


can you run prbf2.exe? located in the root directory. this should give you the files you need for your profiles.

if you have all windows updates, no anti virus blocking, microsoft NET and direct x.. it should be running