project reality header
Go Back   Project Reality Forums > Project Reality Support > PR:BF2 Support
30 Oct 2024, 00:00:00 (PRT)
Register Developer Blogs Members List Search Quick Links
PR:BF2 Support Help and support regarding PR:BF2 installation and in-game issues

Reply
 
Thread Tools Display Modes
Old 2018-02-26, 15:22   #1
TheSunGod
Default Game constantly crashing

Hello, after the latest patch (being released this weekend, i believe) the game keeps closing each time i start it, before i even see the main menu screen (after i see the short video with PR logo though), there is no bug or crash report, nothing, the only thing that pops up is the very well-known window "PRBF2 has closed, cleaning resources".
I've tried reinstalling and redownloading the game several times, as well as wiping profile files in the documents folder, nothing helped.
Here's the Support info from the launcher, if that may help.

Code:
System Information
------------------
  Operating System: Microsoft Windows 7 Ultimate  (6.1.7601)
      Architecture: 64-bit
   Current Culture: Polish (Poland)
       Motherboard: MSI Z77A-G45 (MS-7752)
         Processor: Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz (Physical: 4, Logical: 8)
            Memory: 16,00 GB
      DIMM Modules: ChannelA-DIMM0: 4,00 GB @ 1333 MHz
                    ChannelA-DIMM1: 4,00 GB @ 1333 MHz
                    ChannelB-DIMM0: 4,00 GB @ 1333 MHz
                    ChannelB-DIMM1: 4,00 GB @ 1333 MHz
         Page File: 15,94 GB
    .NET Framework: 4.6, Runtime: 4.0.30319.42000

Display Information
-------------------
 Display Device(s): Rodzajowy monitor PnP on NVIDIA GeForce GTX 1060 6GB
   Display Mode(s): 1920 x 1080 (32 bit) @ 60 Hz
    Driver Version: 22.21.13.8205 (382.05)
    Display Memory: 4,00 GB
     Multisampling: 2, 4, 8
               DPI: 96 (100%)

Audio Information
-----------------
  Primary Playback: G?o?niki (2 — Logitech G930 Gam
 Primary Recording: Mikrofon (2 — Logitech G930 Gam
  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:\Gry\PRBF2
                    Free: 121,64 GB, Total: 736,20 GB, FS: NTFS, SSD: False
          Mod Path: D:\Gry\PRBF2\mods\pr
                    Free: 121,64 GB, Total: 736,20 GB, FS: NTFS, SSD: False
     Profiles Path: C:\Users\Marcell\Documents\ProjectReality\Profiles
                    Free: 23,92 GB, Total: 195,21 GB, FS: NTFS, SSD: False
    Update DL Path: C:\Users\Marcell\AppData\Local\Project Reality\Project Reality BF2\Downloads
                    Free: 23,92 GB, Total: 195,21 GB, FS: NTFS, SSD: False
   Update Log Path: C:\Users\Marcell\AppData\Local\Project Reality\Project Reality BF2\UpdateLogs
                    Free: 23,92 GB, Total: 195,21 GB, FS: NTFS, SSD: False

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

Profile Information
-------------------
      Profile 0001: TheSunGod
              Type: Online
 Last Used Profile: True
        View Intro: True
        Fullscreen: True
      Display Mode: 1920x1080@60Hz
Display Mode Valid: True
   Graphics Scheme: Custom
     Multisampling: Off
             VSync: False
            NoLods: False
   Terrain Quality: Low
   Effects Quality: High
  Geometry Quality: High
   Texture Quality: High
  Lighting Quality: High
   Dynamic Shadows: High
    Dynamic Lights: High
 Texture Filtering: High
    Audio Provider: Software
    Provider Valid: True
     Audio Quality: Medium
               EAX: True
TheSunGod is offline Reply With Quote
Old 2018-02-26, 16:59   #2
[R-DEV]​AlonTavor
PR:BF2 Developer
Supporting Member
PR Server License Administrator
Default Re: Game constantly crashing

Run as windowed and you might get an error message.
AlonTavor is offline Reply With Quote
Old 2018-02-26, 21:59   #3
TheSunGod
Default Re: Game constantly crashing

Indeed. This popped up:
TheSunGod is offline Reply With Quote
Old 2018-02-27, 07:51   #4
[R-DEV]​AlonTavor
PR:BF2 Developer
Supporting Member
PR Server License Administrator
Default Re: Game constantly crashing

Why would you have a "localhost" entry in your hosts file on windows 7?!

https://www.realitymod.com/forum/f27...mespy-url.html
AlonTavor is offline Reply With Quote
Old 2018-02-27, 08:36   #5
anantdeathhawk
Default Re: Game constantly crashing

Updated to 1.5.3.2

Game crashes after intro video.

From Bin>PR.log:

Code:
Project Reality Log File
PRLauncher.exe started at: 2018-02-27T13:59:00

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

String reference not set to an instance of a String.
Parameter name: s

Further details can be found in the following file:

D:\Program Files (x86)\Project Reali...PRLauncher.log

Please report this error to the Project Reality Team, and include the log file in your report.

Visit Support Forum

 > System.ArgumentNullException: String reference not set to an instance of a String.
Parameter name: s
   at System.Text.Encoding.GetBytes(String s)
   at Reality.Utils.Extensions.ToMD5(String )
   at Reality.BF2.GameSpy.LoginServer.CreateLoginResponse(SocketState , Dictionary`2 )
   at Reality.BF2.GameSpy.LoginServer.(SocketState , String , Dictionary`2 )
   at Reality.BF2.GameSpy.LoginServer.(SocketState , String )
   at Reality.BF2.GameSpy.LoginServer.(IAsyncResult )
   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.LazyAsyncResult.ProtectedInvokeCallback(Object result, 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)
Thanks!
anantdeathhawk is offline Reply With Quote
Old 2018-02-27, 13:16   #6
TheSunGod
Default Re: Game constantly crashing

Funny shit, my hosts file was completely empty, apart from a line "127.0.0.1 localhost". I followed the steps to reset the file and it worked, game is working again. Thank you!
PS I have no idea what happened, i did nothing with the file. I played PR before and it was just fine, then after the patch (1.5.3 i believe) it just refused to work
TheSunGod is offline Reply With Quote
Old 2018-02-27, 15:18   #7
[R-DEV]​AlonTavor
PR:BF2 Developer
Supporting Member
PR Server License Administrator
Default Re: Game constantly crashing

Quote:
Originally Posted by anantdeathhawk View Post
Updated to 1.5.3.2

Game crashes after intro video.
Thanks!
This is iirelevant, make a new thread.



@TheSunGod

We changed some stuff.
In short, this is a fake error message from BF2. It crashes the game because it thinks you might be changing the master-server address through the hosts file.
I did really rough hack around the check in assembly, only made it stop after checking the first line. Didn't put extra time in it because we didn't think there would be a need, assembly of compiled software is not something that is designed for humans to edit.

There really wasn't a need for a proper fix unless something messed with your file improperly - you don't need a localhost entry in Windows 7 and above. We're surprised so many people actually have that issue.
AlonTavor is offline Reply With Quote
Old 2018-02-27, 18:52   #8
[R-DEV]Mats391
PR:BF2 Lead Developer
Supporting Member
PR Server License Administrator

Mats391's Avatar
Default Re: Game constantly crashing

Quote:
Originally Posted by anantdeathhawk View Post
Updated to 1.5.3.2

Game crashes after intro video.

From Bin>PR.log:

Code:
Project Reality Log File
PRLauncher.exe started at: 2018-02-27T13:59:00

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

String reference not set to an instance of a String.
Parameter name: s

Further details can be found in the following file:

D:\Program Files (x86)\Project Reali...PRLauncher.log

Please report this error to the Project Reality Team, and include the log file in your report.

Visit Support Forum

 > System.ArgumentNullException: String reference not set to an instance of a String.
Parameter name: s
   at System.Text.Encoding.GetBytes(String s)
   at Reality.Utils.Extensions.ToMD5(String )
   at Reality.BF2.GameSpy.LoginServer.CreateLoginResponse(SocketState , Dictionary`2 )
   at Reality.BF2.GameSpy.LoginServer.(SocketState , String , Dictionary`2 )
   at Reality.BF2.GameSpy.LoginServer.(SocketState , String )
   at Reality.BF2.GameSpy.LoginServer.(IAsyncResult )
   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.LazyAsyncResult.ProtectedInvokeCallback(Object result, 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)
Thanks!
Try playing with saved password. I guess I did not really fix it last patch

Mineral: TIL that Wire-guided missiles actually use wire
Mats391 is offline Reply With Quote
Old 2018-02-27, 23:26   #9
TheSunGod
Default Re: Game constantly crashing

@AlonTavor
So i guess its an error that you guys will not try to fix then? Doesnt seem like there's a need for that as repairing this on your own by any of the players is not really an issue.
That would be kinda helpful though, otherwise you will have to respond to maaaany more threads like this one
Anyway, thank you for your help, guess you can close the thread now
TheSunGod is offline Reply With Quote
Old 2018-02-28, 08:18   #10
[R-DEV]​AlonTavor
PR:BF2 Developer
Supporting Member
PR Server License Administrator
Default Re: Game constantly crashing

Will probably fix it next, its just like 30 minutes of really boring mindless work.

Assembly is cancer.
AlonTavor is offline Reply With Quote
Reply


Tags
constantly, crashing, game

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT. The time now is 07:24.