Crash Loading Kashan AAS Std 1.6.2.3

Help and support regarding PR:BF2 installation and in-game issues
Post Reply
sprint113
Posts: 112
Joined: 2009-12-08 03:45

Crash Loading Kashan AAS Std 1.6.2.3

Post by sprint113 »

Game crashes when loading map (Kashan AAS Standard) at ~60%. If I switch to windowed mode, sometimes it lets me load, and other times it generates the error window.

Image

Key Text: Debug assertion failed! Failed to create effect: Ran out of memory. Usually this happens at 60 or 62% loading.

Definitely not system memory as I have 32GB RAM and task manager doesn't show it going anywhere. Maybe page file as it is system-managed and usually just sits at 2GB. Potentially running out of memory available to 32bit programs, though not sure how to address that.

This seems to only affect Kashan AAS Standard layout. I believe I was able to play either the Alt or large layout okay, and all other maps work fine.

Sometimes, windowed mode will let me load in properly. I'm still testing variables, but it seems like reducing textures to medium helped.

Things that didn't seem to help: reducing dynamic shadows or lighting, reducing sound from ultra high to high, enabling LODs.

I've copied over the entire PR game folder from another computer that loads Kashan fine, so it's probably not a corrupted file.

Code: Select all

System Information
------------------
  Operating System: Microsoft Windows 10 Pro (10.0.18363)
      Architecture: 64-bit
   Current Culture: English (United States)
       Motherboard: ASRock Z170 Professional Gaming i7
         Processor: Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz (Physical: 4, Logical: 8)
            Memory: 32.00 GB
      DIMM Modules: ChannelA-DIMM0: 8.00 GB @ 2133 MHz
                    ChannelA-DIMM1: 8.00 GB @ 2133 MHz
                    ChannelB-DIMM0: 8.00 GB @ 2133 MHz
                    ChannelB-DIMM1: 8.00 GB @ 2133 MHz
         Page File: 2.00 GB
    .NET Framework: 4.6+ Release Build: 528040, Runtime: 4.0.30319.42000

Display Information
-------------------
 Display Device(s): BenQ SW2700 on AMD Radeon RX 5700
   Display Mode(s): 2560 x 1440 (32 bit) @ 60 Hz
    Driver Version: 26.20.15019.19000
    Display Memory: 4.00 GB
     Multisampling: 2, 4, 8
               DPI: 96 (100%)

Audio Information
-----------------
  Primary Playback: Microsoft Sound Mapper
 Primary Recording: Microphone (Creative SB X-Fi)
  Open AL Renderer: SB X-Fi Audio [0001]
               EAX: True
           EAX 1.0: True
           EAX 2.0: True
           EAX 3.0: True
           EAX 4.0: True
           EAX 5.0: True
             X-RAM: False

Disk Information
----------------
      Install Path: C:\Program Files (x86)\Project Reality\Project Reality BF2
                    Free: 51.21 GB, Total: 371.60 GB, FS: NTFS, SSD: True
          Mod Path: C:\Program Files (x86)\Project Reality\Project Reality BF2\mods\pr
                    Free: 51.21 GB, Total: 371.60 GB, FS: NTFS, SSD: True
     Profiles Path: C:\Users\XXXX\Documents\ProjectReality\Profiles
                    Free: 51.21 GB, Total: 371.60 GB, FS: NTFS, SSD: True
    Update DL Path: C:\Users\XXXX\AppData\Local\Project Reality\Project Reality BF2\Downloads
                    Free: 51.21 GB, Total: 371.60 GB, FS: NTFS, SSD: True
   Update Log Path: C:\Users\XXXX\AppData\Local\Project Reality\Project Reality BF2\UpdateLogs
                    Free: 51.21 GB, Total: 371.60 GB, FS: NTFS, SSD: True

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

Profile Information
-------------------
      Profile 0001: prWARssprint113
              Type: Online
 Last Used Profile: True
        View Intro: False
        Fullscreen: True
      Display Mode: 2560x1440@60Hz
Display Mode Valid: True
   Graphics Scheme: High
     Multisampling: 8x
             VSync: False
            NoLods: False
   Terrain Quality: High
   Effects Quality: High
  Geometry Quality: High
   Texture Quality: High
  Lighting Quality: High
   Dynamic Shadows: High
    Dynamic Lights: High
 Texture Filtering: High
    Audio Provider: Creative X-Fi
    Provider Valid: True
     Audio Quality: Ultra High
               EAX: True
AlonTavor
PR:BF2 Developer
Posts: 2991
Joined: 2009-08-10 18:58

Re: Crash Loading Kashan AAS Std 1.6.2.3

Post by AlonTavor »

Is it fully reproducible? If yes get me a dump file so I can see which effect breaks
sprint113
Posts: 112
Joined: 2009-12-08 03:45

Re: Crash Loading Kashan AAS Std 1.6.2.3

Post by sprint113 »

AlonTavor wrote:Is it fully reproducible? If yes get me a dump file so I can see which effect breaks
Yup tried again today with similar results. I also tried AAS Large and that loaded fine so something particular about AAS STD doesn't go well with my system.

See attached procdump.

For reference, here is the console readout to go with it:

Code: Select all

ProcDump v9.0 - Sysinternals process dump utility
Copyright (C) 2009-2017 Mark Russinovich and Andrew Richards
Sysinternals - www.sysinternals.com

Process:               PRBF2.exe (15012)
Process image:         C:\Program Files (x86)\Project Reality\Project Reality BF2\PRBF2.exe
CPU threshold:         n/a
Performance counter:   n/a
Commit threshold:      n/a
Threshold seconds:     n/a
Hung window check:     Disabled
Log debug strings:     Disabled
Exception monitor:     First Chance+Unhandled+Breakpoints
Exception filter:      [Includes]
                       *
                       [Excludes]
Terminate monitor:     Disabled
Cloning type:          Disabled
Concurrent limit:      n/a
Avoid outage:          n/a
Number of dumps:       1
Dump folder:           C:\procdump\
Dump filename/mask:    PROCESSNAME_YYMMDD_HHMMSS
Queue to WER:          Disabled
Kill after dump:       Disabled


Press Ctrl-C to end monitoring without terminating the process.

[22:12:41] Exception: C0000005.ACCESS_VIOLATION
[22:12:41] Dump 1 initiated: C:\procdump\PRBF2.exe_200824_221241.dmp
[22:12:41] Dump 1 complete: 7 MB written in 0.3 seconds
[22:12:41] Dump count reached.
You do not have the required permissions to view the files attached to this post.
bouya_tetsu
Posts: 24
Joined: 2018-11-02 04:35

Re: Crash Loading Kashan AAS Std 1.6.2.3

Post by bouya_tetsu »

This issue is happening on my pc too.
Recently I changed the PC monitor and changed the resolution from 1920*1080 to 4k.
After that, kashan AAS Std had the same problem as sprint.
Sorry, I can't give you the PC specs and detailed error messages only on this weekend...
Probably Error message said "Ran out of memory".
AlonTavor
PR:BF2 Developer
Posts: 2991
Joined: 2009-08-10 18:58

Re: Crash Loading Kashan AAS Std 1.6.2.3

Post by AlonTavor »

Can you try clearing shader cache and report back?
Launcher -> tools -> clear shader cache
sprint113
Posts: 112
Joined: 2009-12-08 03:45

Re: Crash Loading Kashan AAS Std 1.6.2.3

Post by sprint113 »

AlonTavor wrote:Can you try clearing shader cache and report back?
Launcher -> tools -> clear shader cache
Tried clearing shader cache. Seems like it didn't help with the problem.
User avatar
Mats391
PR:BF2 Lead Developer
Posts: 7636
Joined: 2010-08-06 18:06

Re: Crash Loading Kashan AAS Std 1.6.2.3

Post by Mats391 »

Does it only happen on Kashan or also on Khami? Those two maps are very similar.
Image

Mineral: TIL that Wire-guided missiles actually use wire
sprint113
Posts: 112
Joined: 2009-12-08 03:45

Re: Crash Loading Kashan AAS Std 1.6.2.3

Post by sprint113 »

Mats391 wrote:Does it only happen on Kashan or also on Khami? Those two maps are very similar.
Only Kashan AAS Std. Khami, and other Kashan layouts (at least large) seem to load fine.
AlonTavor
PR:BF2 Developer
Posts: 2991
Joined: 2009-08-10 18:58

Re: Crash Loading Kashan AAS Std 1.6.2.3

Post by AlonTavor »

Can you run procdump with "-ma" instead of "-mm"? it'll be a couple of GB file

Do you have any special GPU drivers?
sprint113
Posts: 112
Joined: 2009-12-08 03:45

Re: Crash Loading Kashan AAS Std 1.6.2.3

Post by sprint113 »

Mats391 wrote:Does it only happen on Kashan or also on Khami? Those two maps are very similar.
No special driver, basically whatever was available from the AMD website the last time I updated.

Tonight, the crashing also occurred on Kashan ALT. I was able to play with my regular graphics settings on Kashan ALT and Kashan STD after killing some background applications. Not sure if it was just just repeatedly trying to load until it works, or if clearing some memory helped. I'm definitely nowhere close to my 32GB memory capacity, but it's possible that BF2 only looks at the lower 4GB or something like that.

Here is a link to the dump with -ma.

https://www.dropbox.com/s/0fo3c41qxajgx ... 8.rar?dl=0
akilmaf
Posts: 53
Joined: 2014-08-01 12:42

Re: Crash Loading Kashan AAS Std 1.6.2.3

Post by akilmaf »

Got the same error with Kashan AAS online. Never saw this error before and found this post so hope that helps devs to fix the problem.

Don't know if it helps, but I am using an internal graphics card.

My specs:

Code: Select all

System Information
------------------
  Operating System: Microsoft Windows 10 Enterprise (10.0.18363)
      Architecture: 64-bit
   Current Culture: English (United States)
       Motherboard: HP 83E0
         Processor: Intel(R) Core(TM) i5-8500 CPU @ 3.00GHz (Physical: 6, Logical: 6)
            Memory: 16.00 GB
      DIMM Modules: DIMM1: 16.00 GB @ 2667 MHz
         Page File: 12.49 GB
    .NET Framework: 4.6+ Release Build: 528040, Runtime: 4.0.30319.42000

Display Information
-------------------
 Display Device(s): Generic PnP Monitor on Intel(R) UHD Graphics 630
   Display Mode(s): 1920 x 1080 (32 bit) @ 60 Hz
    Driver Version: 1.1.0.0
    Display Memory: 0.00 B
     Multisampling: 2, 4, 8
               DPI: 96 (100%)

Audio Information
-----------------
  Primary Playback: Microsoft Sound Mapper
 Primary Recording: Microphone (Synaptics HD Audio)
  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: C:\Program Files (x86)\Project Reality\Project Reality BF2
                    Free: 334.92 GB, Total: 471.56 GB, FS: NTFS, SSD: True
          Mod Path: C:\Program Files (x86)\Project Reality\Project Reality BF2\mods\pr
                    Free: 334.92 GB, Total: 471.56 GB, FS: NTFS, SSD: True
     Profiles Path: C:\Users\Administrator\Documents\ProjectReality\Profiles
                    Free: 334.92 GB, Total: 471.56 GB, FS: NTFS, SSD: True
    Update DL Path: C:\Users\Administrator\AppData\Local\Project Reality\Project Reality BF2\Downloads
                    Free: 334.92 GB, Total: 471.56 GB, FS: NTFS, SSD: True
   Update Log Path: C:\Users\Administrator\AppData\Local\Project Reality\Project Reality BF2\UpdateLogs
                    Free: 334.92 GB, Total: 471.56 GB, FS: NTFS, SSD: True

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

Profile Information
-------------------
      Profile 0001: akilmaf
              Type: Online
 Last Used Profile: True
        View Intro: False
        Fullscreen: True
      Display Mode: 1920x1080@60Hz
Display Mode Valid: True
   Graphics Scheme: Custom
     Multisampling: 2x
             VSync: False
   Terrain Quality: High
   Effects Quality: High
  Geometry Quality: High
   Texture Quality: Medium
  Lighting Quality: Low
   Dynamic Shadows: Off
    Dynamic Lights: Medium
 Texture Filtering: Medium
    NoLods Statics: False
 NoLods Overgrowth: False
    NoLods Terrain: False
    Audio Provider: Hardware
    Provider Valid: True
     Audio Quality: High
               EAX: True
User avatar
Mats391
PR:BF2 Lead Developer
Posts: 7636
Joined: 2010-08-06 18:06

Re: Crash Loading Kashan AAS Std 1.6.2.3

Post by Mats391 »

We are currently testing a fix for this. Hopefully it will be ready for the next patch.
Image

Mineral: TIL that Wire-guided missiles actually use wire
Post Reply

Return to “PR:BF2 Support”