Launcher Issue

If you find a bug within PR:BF2 (including PRSP), please report it here.
Post Reply
DoctorKamikaze
Posts: 2
Joined: 2016-11-28 16:31

Launcher Issue

Post by DoctorKamikaze »

Code: Select all

Project Reality Log File
PRLauncher.exe started at: 2016-11-28T10:30:24

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 Ta.h.a()
   at Reality.BF2.Settings.Video.a.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_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)
Version 1.4, I play on a 4K screen, appears to have some issues getting a default resolution for it. Changing resolutions did not fix the issue.
Arab
PR:BF2 Developer
Posts: 2898
Joined: 2012-05-18 03:37

Re: Launcher Issue

Post by Arab »

A temp solution until the hotfix is released would be to set the video.con as 'read-only' which will prevent modification
Image
Gentlefood
Posts: 9
Joined: 2011-12-06 22:20

Re: Launcher Issue

Post by Gentlefood »

DoctorKamikaze
Posts: 2
Joined: 2016-11-28 16:31

Re: Launcher Issue

Post by DoctorKamikaze »

[quote=""'[R-DEV"]Arab;2150651']A temp solution until the hotfix is released would be to set the video.con as 'read-only' which will prevent modification[/quote]

Probably silly of me, but where is video.con? I'm coming from Steam/Squad, and am used to looking for apps in the steam install directory. Would it be under Documents, or alongside the install?

Anyway, I'll dig and take a look for it in the meantime.

[quote="Gentlefood""]Try the solution I found here: https://www.realitymod.com/forum/f27-pr ... ncher.html[/quote]

This does indeed work, after deleting any extra profiles and adding the missing files to Default and 0001 profiles, I was able to get the launcher running.

Edit:

New error; now the launcher says I need to choose a valid display mode under options. After setting all of my options, it appears the modal does not save these values to the profile. Clicking play afterward, or going into the options menu, causes me to have to reset all options and "save" again.

And apparently loading my profile lost all of the .con files. I just re-added them and I should be good to go.
Last edited by DoctorKamikaze on 2016-11-29 23:44, edited 2 times in total.
Gentlefood
Posts: 9
Joined: 2011-12-06 22:20

Re: Launcher Issue

Post by Gentlefood »

DoctorKamikaze wrote:
Edit:

New error; now the launcher says I need to choose a valid display mode under options. After setting all of my options, it appears the modal does not save these values to the profile. Clicking play afterward, or going into the options menu, causes me to have to reset all options and "save" again.

And apparently loading my profile lost all of the .con files. I just re-added them and I should be good to go.
Double check that your profile has the missing .con files as well. Additionally you can manually set your ratio in the video.con file.
Post Reply

Return to “PR:BF2 Bugs”