Page 1 of 1

Critical error

Posted: 2015-07-31 09:46
by Michael99
I just installed PR for the first time and when I double click on the launcher I get critical error message :( . Please help!!!

Here's the code

Code: Select all

Project Reality Log File
PRLauncher.exe started at: 2015-07-31T11:56:51

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:\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)

Re: Critical error

Posted: 2015-07-31 18:37
by LITOralis.nMd
Your video resolution is incorrectly set.

delete documents\projectreality\profiles directory
then open the PRBF2.exe file in the D:\Project Reality\Project Reality.... directory once. It will get to main menu and say "you must use launcher". However it will also recreate your \Profiles directory when it launches.

Then
Run PRLauncher.exe to test.

Re: Critical error

Posted: 2015-08-01 12:01
by Michael99
Well, now I got to the launcher... When I filled all the spaces for a new online account and clicked "create" I got yet another critical error :(

Here's the code

Code: Select all

Project Reality Log File
PRLauncher.exe started at: 2015-08-01T13:21:38

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:\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 Reality.BF2.Settings.Profile.CreateNewProfile(UInt16 a)
   at PRLauncher.WPF.ViewModel.Pages.FirstTimeCreateAccountPageViewModel.b.a.a(Object a, EventArgs b)
   at Reality.BF2.GameSpy.GameSpyConnection.a(EventArgs a)
   at Reality.BF2.GameSpy.GameSpyConnection.c.a(Object a, RealitySocketReceivedDataEventArgs b)
   at Reality.Net.RealitySocket.a(RealitySocketReceivedDataEventArgs a)
   at Reality.Net.RealitySocket.b(IAsyncResult a)
   at System.Net.LazyAsyncResult.Complete(IntPtr userToken)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.ContextAwareResult.Complete(IntPtr userToken)
   at System.Net.Sockets.BaseOverlappedAsyncResult.CompletionPortCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped)
   at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)
But after launching through the launcher again my profile was somehow made so I selected it and logged in and when loading the profile is almost finished it came up with

Launch error
1324: The selected display mode is not supported. Please update the display mode for your profile in the "Options" menu and try again.

And then I did go to the "options" menu and "display mode" was indeed blank for some reason so I changed it to my native 1920x1080 res and applied it. Then I pressed play one more time and logged into my profile again with no luck. Again it showed the same launch error and "display mode" was again blank in the "Options" menu. I did this process for a few times and I even made another profile (the critical error from above happened again) and again deleted the profile folder in My Documents folder, all with no luck. Then I thought it is maybe Nvidia DSR technology that is causing the problem because I know that when it is turned on all my games are defaulted to 800x600 res and I have to change it manually so I turned it off and tried again with no luck. I hope you can still help me somehow :(

P.S. I noticed when changing the "display mode" and pressing apply it informs me that settings are saved so I press "close". If I open "options" again, "display mode" is again blank.

Re: Critical error

Posted: 2015-08-03 06:51
by DC_K
post your system specs..

prlauncher>support copy+paste

assuming you have your proper drivers, try this

go to video.con in documents replace "videosettings.setresolution" with this:

VideoSettings.setResolution 1920x1080@60Hz

save and set it as read only

Re: Critical error

Posted: 2015-08-04 16:44
by Michael99
Here are the specs

Code: Select all

System Information
------------------
  Operating System: Microsoft Windows 8.1 Pro (6.3.9600)
      Architecture: 64-bit
   Current Culture: English (United States)
       Motherboard: ASUSTeK COMPUTER INC. Z97-A
         Processor: Intel(R) Core(TM) i5-4670K CPU @ 3.40GHz (Physical: 4, Logical: 4)
            Memory: 8.00 GB
      DIMM Modules: DIMM_A1: 4.00 GB @ 1333 MHz
                    DIMM_B1: 4.00 GB @ 1333 MHz
         Page File: 3.00 GB
    .NET Framework: 4.5+ Release Build: 379893, Runtime: 4.0.30319.34209

Display Information
-------------------
 Display Device(s): 
   Display Mode(s): 
    Driver Version: 10.18.13.5362 (353.62)
    Display Memory: 2.00 GB
     Multisampling: 2, 4, 8
               DPI: 96 (100%)

Audio Information
-----------------
  Primary Playback: Speakers (Realtek High Definiti
 Primary Recording: Microphone (HD Webcam C525)
  Open AL Renderer: Software
               EAX: True
           EAX 1.0: False
           EAX 2.0: True
           EAX 3.0: False
           EAX 4.0: False
           EAX 5.0: False
             X-RAM: False

Disk Information
----------------
      Install Path: D:\Project Reality\Project Reality BF2
                    Free: 23.17 GB, Total: 585.94 GB, FS: NTFS, SSD: False
          Mod Path: D:\Project Reality\Project Reality BF2\mods\pr
                    Free: 23.17 GB, Total: 585.94 GB, FS: NTFS, SSD: False
     Profiles Path: C:\Users\PC\Documents\ProjectReality\Profiles
                    Free: 89.08 GB, Total: 345.23 GB, FS: NTFS, SSD: False
    Update DL Path: C:\Users\PC\AppData\Local\Project Reality\Project Reality BF2\Downloads
                    Free: 89.08 GB, Total: 345.23 GB, FS: NTFS, SSD: False
   Update Log Path: C:\Users\PC\AppData\Local\Project Reality\Project Reality BF2\UpdateLogs
                    Free: 89.08 GB, Total: 345.23 GB, FS: NTFS, SSD: False

Game Information
----------------
    Installed Mods: pr
       Current Mod: pr
           Version: Standalone - 1.0
        PR Version: 1.3.1.0
          Language: english
   Debug Available: False
     Large Address: True
Supported Hardware: None

Profile Information
-------------------
      Profile 0001: michael1999
              Type: Online
        View Intro: True
        Fullscreen: True
      Display Mode: 
Display Mode Valid: False
   Graphics Scheme: Custom
     Multisampling: Off
             VSync: False
   Terrain Quality: Low
   Effects Quality: Medium
  Geometry Quality: Low
   Texture Quality: Medium
  Lighting Quality: Low
   Dynamic Shadows: Off
    Dynamic Lights: Off
 Texture Filtering: Medium
    Audio Provider: Software
    Provider Valid: True
     Audio Quality: Low
               EAX: False
I think that this system information is not showing what my graphics card is so if you need that information it's Gigabyte GTX 770 2GB
And I don't have video.con file in My Documents/ProjectReality folder (The only .con file I have is Profile.con)

Re: Critical error

Posted: 2015-08-04 17:04
by DC_K
i think lito has mentioned this, try doing this again
delete documents\projectreality\profiles directory
go to project reality folder and run "prbf2.exe"
this should give you files necessary to run
make sure you have any AV disabled



also, this is bad
Display Device(s):
Display Mode(s):
you do have the latest drivers installed for your 770? if so, sounds like it wasn't installed good

Re: Critical error

Posted: 2015-08-04 18:16
by Michael99
Ok. So I am going to do this and write you what happens at the same time.

I deleted profiles folder started PRBF2.exe.

I checked and now in documents\projectreality\profiles\default directory I have 3 files profile.con, video.con and audio.con

Now I retrieved my account and when I pressed "Retrieve" I got a critical error

Code: Select all

Project Reality Log File
PRLauncher.exe started at: 2015-08-04T19:53:06

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:\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 Reality.BF2.Settings.Profile.CreateNewProfile(UInt16 a)
   at PRLauncher.WPF.ViewModel.Pages.FirstTimeRetrieveAccountPageViewModel.b.a.a(Object a, GameSpyRetrieveSuccessEventArgs b)
   at Reality.BF2.GameSpy.GameSpyConnection.a(GameSpyRetrieveSuccessEventArgs a)
   at Reality.BF2.GameSpy.GameSpyConnection.a.a(Object a, RealitySocketReceivedDataEventArgs b)
   at Reality.Net.RealitySocket.a(RealitySocketReceivedDataEventArgs a)
   at Reality.Net.RealitySocket.b(IAsyncResult a)
   at System.Net.LazyAsyncResult.Complete(IntPtr userToken)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.ContextAwareResult.Complete(IntPtr userToken)
   at System.Net.Sockets.BaseOverlappedAsyncResult.CompletionPortCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped)
   at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)
So I run the launcher again and my profile is retrieved so I log into it and a window comes up saying Launching PRBF2 and after some time loading an error occurs

1324: The selected display mode is not supported.Please update the display mode for your profile in the "Options" menu and try again.

So I update it in the settings press apply then close and log in and bam the same error occurs and in settings the display mode is again blank.

I go in the documents\projectreality\profiles\0001 and I only have profiles.con file (no video.con or audio.con). So I came up with the idea to copy video.con and audio.con from documents\projectreality\profiles\default and then try. I logged in and right when the game started I got a error (not a critical)

1103: There was an error linking to the game process. Please try again.

While I was writing this and that error still opened, another ,this time, critical error appeared

Code: Select all

Project Reality Log File
PRLauncher.exe started at: 2015-08-04T20:00:56

Warning: Error in game thread: 3

 > Could not find file 'C:\Users\PC\Documents\ProjectReality\Profiles\0001\Controls.con'.
Error: 1103: There was an error linking to the game process. Please try again.
Critical Error: An unhandled exception has occured. Details are as follows:

No process is associated with this object.

Further details can be found in the following file:

[url]D:\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.InvalidOperationException: No process is associated with this object.
   at System.Diagnostics.Process.EnsureState(State state)
   at System.Diagnostics.Process.get_HasExited()
   at Reality.BF2.Game.WhileRunning.b.d()
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart()
I don't know how to post a screenshot here (On my first post I couldn't see the picture) but you'll have to believe that my drivers are up to date in geforce experience app (one reason for that to be blank is maybe because I do have the newest driver which has support for Windows 10 which I don't have yet) but I play a LOT other games without any problem.

Re: Critical error

Posted: 2015-08-05 17:19
by DC_K
the error means you don't have a control.con


this method is kind of unorthodox.. but i'm out of ideas. i'm going to upload my stuff to see if that works for you, just paste it in the profile "000x" file and try again. try to only take files you don't have, make any changes you need necessary. make sure you set your video to read only assuming you set the correct resolution IF it shows blank in launcher. report back



edit: literally made this phony account, so it's all default
https://www.dropbox.com/sh/a0qm9ybeg3kl ... mszAa?dl=0

Re: Critical error

Posted: 2015-08-05 21:35
by Michael99
Thanks a bunch!!! This actually worked :D . I copied all files I didn't have in the default folder. First time I launched the game I put video.con on read-only but second time I didn't and I changed the resolution and graphics and it worked.I'd say this was a corrupted download (because I reinstalled it two times from the same installation) or something like that so I don't know if I should report it to PR devs or not.

Re: Critical error

Posted: 2015-08-05 21:42
by Michael99
After 6 days I can finally play it. :m1helmet:

Re: Critical error

Posted: 2015-08-05 21:45
by DC_K
glad it's fixed! sounds like some corruption going on as it didn't give you the required default files.

goodluck on the battlefield! :D

Re: Critical error

Posted: 2015-10-10 16:00
by Svakidan
DC_K wrote:the error means you don't have a control.con


this method is kind of unorthodox.. but i'm out of ideas. i'm going to upload my stuff to see if that works for you, just paste it in the profile "000x" file and try again. try to only take files you don't have, make any changes you need necessary. make sure you set your video to read only assuming you set the correct resolution IF it shows blank in launcher. report back



edit: literally made this phony account, so it's all default
https://www.dropbox.com/sh/a0qm9ybeg3kl ... mszAa?dl=0
DC K,

you glorious son of a gun

i had been struggling with this issue for the longest time. it's been a few months since i last tried to play PR but ran into a similar issue (launcher didnt work, had to create my own profile folder. game wouldnt launch, display resolution error. game launched but crashed to desktop...) finally, i found a fix. i came to post here personally to thank you. it turned out that all the files you had linked were completely missing from my profile 000 folder. would never have guessed. after wading through countless threads with this issue, i just want people to know that this did it for me. thank you so much again.

Re: Critical error

Posted: 2015-10-11 00:45
by DC_K
Svakidan wrote:DC K,

you glorious son of a gun

i had been struggling with this issue for the longest time. it's been a few months since i last tried to play PR but ran into a similar issue (launcher didnt work, had to create my own profile folder. game wouldnt launch, display resolution error. game launched but crashed to desktop...) finally, i found a fix. i came to post here personally to thank you. it turned out that all the files you had linked were completely missing from my profile 000 folder. would never have guessed. after wading through countless threads with this issue, i just want people to know that this did it for me. thank you so much again.
no problem man, enjoy the games!