Game crashes right when launching

Help and support regarding PR:BF2 installation and in-game issues
Post Reply
ColinMcRae
Posts: 1
Joined: 2015-06-04 08:51

Game crashes right when launching

Post by ColinMcRae »

When I try to start the game it crashes directly after clicking yes in UAC. This is the logfile created:

Code: Select all

Project Reality Log File
PRLauncher.exe started at: 2015-06-04T10:52:53

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

Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.

Further details can be found in the following file:

[url]F:\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: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
   bei Va.h.a()
   bei Reality.BF2.Settings.Video.a(String a)
   bei System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()
   bei System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source)
   bei Reality.BF2.Settings.Video.GetDefaultResolution()
   bei Reality.BF2.Settings.Video.CreateDefault(UInt16 a)
   bei -.f.a()
   bei -.f.OnStartup(StartupEventArgs a)
   bei System.Windows.Application.<.ctor>b__1(Object unused)
   bei System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   bei MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
DirectX, Visual C++ and .NET Framework have all been installed. PR was installed with the iso mounting feature from 8, but I copied it to the desktop to fix the P Attribute
g4m3rchen
Posts: 3
Joined: 2015-06-02 08:16

Re: Game crashes right when launching

Post by g4m3rchen »

thank you for posting this, i tried to make a thread with the exactly same error twice now but it either didn't go through or just wasn't approved by a mod...
Widi92
Posts: 3
Joined: 2010-07-20 11:08

Re: Game crashes right when launching

Post by Widi92 »

bump. I have the same problem.
Priestkiller
Posts: 1
Joined: 2012-01-10 08:31

Re: Game crashes right when launching

Post by Priestkiller »

Same here... any ideas?
OverallAverage
Posts: 6
Joined: 2015-06-02 22:53

Re: Game crashes right when launching

Post by OverallAverage »

Same here... bothering me past few days :/
PLODDITHANLEY
Posts: 3608
Joined: 2009-05-02 19:44

Re: Game crashes right when launching

Post by PLODDITHANLEY »

Are your resolutions set the same like this, check default resolutions in Mydocuments/Projectreality/profiles/ default isbefore profiles and maybe launcher but I'm not sure on that, 0001 will be the first profile. In each there you have video(.con) change to match Nvidia or AMD set resolution and SAVE in wordpad.

See this thread for more info.

https://www.realitymod.com/forum/f27-pr ... ost2076592

I think your PR default/launcher/intro graphics are set wrong.
You do not have the required permissions to view the files attached to this post.
Last edited by PLODDITHANLEY on 2015-06-05 01:09, edited 1 time in total.
LITOralis.nMd
Retired PR Developer
Posts: 5658
Joined: 2010-04-10 16:15

Re: Game crashes right when launching

Post by LITOralis.nMd »

Easiest first solution:

GO to Mydocuments/ and rename Mydocuments/Projectreality to Mydocuments/ProjectrealityOLD
Start PRBF2.exe in Program Files (x86)\Project Reality\Project Reality BF2
When it says you must use the Luancher to play the game, shutdown PRBF2.exe
Start PRLauncher.exe and click Options, then check your video settings. Click Apply.
then start PR by pressing PLAY in the main PRLauncher menu,
FievreTonnerre
Posts: 7
Joined: 2015-06-04 14:35

Re: Game crashes right when launching

Post by FievreTonnerre »

didn't work for me ! :'(
LordLemos
Posts: 6
Joined: 2005-08-13 22:58

Re: Game crashes right when launching

Post by LordLemos »

I think is the same issue in the other topic, both without solutions.
OverallAverage
Posts: 6
Joined: 2015-06-02 22:53

Re: Game crashes right when launching

Post by OverallAverage »

Thanks for the .OLD rename solution. I opened the launcher for the first time. It worked!
OverallAverage
Posts: 6
Joined: 2015-06-02 22:53

Re: Game crashes right when launching

Post by OverallAverage »

It worked for the launcher crash but now I got a new problem. I am posting the new error, check in support when the mod approves it please. Thanks.
Widi92
Posts: 3
Joined: 2010-07-20 11:08

Re: Game crashes right when launching

Post by Widi92 »

That solution didn't work for me. The launcher still cras's with the same error code.
I think there is a problem with creating a default user profile. Every time when I check the profile folders there are no data in it.
MrMad
Posts: 2
Joined: 2015-06-20 10:49

Re: Game crashes right when launching

Post by MrMad »

So i just downloaded the game but i have the exact same error and i can't get past it.
As soon as i start PRLauncher it crashes with that error.

I tryed what mentioned here:
[R-COM]LITOralis.nMd wrote:Easiest first solution:

GO to Mydocuments/ and rename Mydocuments/Projectreality to Mydocuments/ProjectrealityOLD
Start PRBF2.exe in Program Files (x86)\Project Reality\Project Reality BF2
When it says you must use the Luancher to play the game, shutdown PRBF2.exe
Start PRLauncher.exe and click Options, then check your video settings. Click Apply.
then start PR by pressing PLAY in the main PRLauncher menu,
Also i tryed to set costum Resolutions. All without any success. Still crashes after start.
Any Idea?

OS is Win 8.1
Intel I7 4770k
GTX 980
16GB RAM
LITOralis.nMd
Retired PR Developer
Posts: 5658
Joined: 2010-04-10 16:15

Re: Game crashes right when launching

Post by LITOralis.nMd »

Quick way to test this is to create a new Windows Administrator account, then try to run C:\Program Files (x86)\Project Reality\Project Reality BF2\PRbf2.exe once. It will get to a main menu saying "you must use the launcher. But it also will create the new documents\ProjectReality directory and subdirectories for you. close prbf2.exe and then start prlauncher.exe like normal.

the symptoms you describe make me think it could be your antivirus/firewall blocking the C:\Program Files (x86)\Project Reality\Project Reality BF2\PRbf2.exe and/or C:\Program Files (x86)\Project Reality\Project Reality BF2\mods\pr\bin\PRlauncher.exe software. Please whitelist them in both antivirus and firewall and test.
Widi92
Posts: 3
Joined: 2010-07-20 11:08

Re: Game crashes right when launching

Post by Widi92 »

Ok the Launcher is working now after I deactivated Windows Firewall but when I start the game pressing on "Play" then this Error appears:

"1103: There was an error linking to the game process. Please try again later5"
LITOralis.nMd
Retired PR Developer
Posts: 5658
Joined: 2010-04-10 16:15

Re: Game crashes right when launching

Post by LITOralis.nMd »

add an exclusion for all ProjectReality and sub-folders to the exclusion list of the AV software.
MrMad
Posts: 2
Joined: 2015-06-20 10:49

Re: Game crashes right when launching

Post by MrMad »

[R-COM]LITOralis.nMd wrote:Quick way to test this is to create a new Windows Administrator account, then try to run C:\Program Files (x86)\Project Reality\Project Reality BF2\PRbf2.exe once. It will get to a main menu saying "you must use the launcher. But it also will create the new documents\ProjectReality directory and subdirectories for you. close prbf2.exe and then start prlauncher.exe like normal.

the symptoms you describe make me think it could be your antivirus/firewall blocking the C:\Program Files (x86)\Project Reality\Project Reality BF2\PRbf2.exe and/or C:\Program Files (x86)\Project Reality\Project Reality BF2\mods\pr\bin\PRlauncher.exe software. Please whitelist them in both antivirus and firewall and test.
So i did all step by step.

- created a new Administrator Account -> runned PRbf2.exe -> error msg ingame -> runned PRlauncer

- whitelisted PR in my firewall and also deactivated the firewall completly.

No success. Still same error.


Image[/IMG]


The Log shows:

Code: Select all

Project Reality Log File
PRLauncher.exe started at: 2015-06-21T16:21:10

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

Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.

Further details can be found in the following file:

[url]S:\Project Reality\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: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
   bei System.Net.WebRequest.get_PrefixList()
   bei System.Net.WebRequest.Create(Uri requestUri, Boolean useUriBase)
   bei MS.Internal.WpfWebRequestHelper.CreateRequest(Uri uri)
   bei System.Windows.Media.ColorContext.Initialize(Uri profileUri, Boolean isStandardProfileUriNotFromUser)
   bei System.Windows.Media.ColorContext..ctor(PixelFormat pixelFormat)
   bei System.Windows.Media.Imaging.BitmapSource.CreateCachedBitmap(BitmapFrame frame, BitmapSourceSafeMILHandle wicSource, BitmapCreateOptions createOptions, BitmapCacheOption cacheOption, BitmapPalette palette)
   bei System.Windows.Media.Imaging.BitmapFrameDecode.FinalizeCreation()
   bei System.Windows.Media.Imaging.BitmapDecoder.SetupFrames(BitmapDecoder decoder, ReadOnlyCollection`1 frames)
   bei System.Windows.Media.Imaging.BitmapDecoder.get_Frames()
   bei System.Windows.Media.Imaging.BitmapFrame.CreateFromUriOrStream(Uri baseUri, Uri uri, Stream stream, BitmapCreateOptions createOptions, BitmapCacheOption cacheOption, RequestCachePolicy uriCachePolicy)
   bei System.Windows.Media.ImageSourceConverter.ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object value)
   bei MS.Internal.Xaml.Runtime.ClrObjectRuntime.CallProvideValue(MarkupExtension me, IServiceProvider serviceProvider)
   bei System.Xaml.XamlObjectWriter.Logic_ProvideValue(ObjectWriterContext ctx)
   bei System.Xaml.XamlObjectWriter.Logic_AssignProvidedValue(ObjectWriterContext ctx)
   bei System.Xaml.XamlObjectWriter.WriteEndMember()
   bei System.Windows.Markup.WpfXamlLoader.TransformNodes(XamlReader xamlReader, XamlObjectWriter xamlWriter, Boolean onlyLoadOneNode, Boolean skipJournaledProperties, Boolean shouldPassLineNumberInfo, IXamlLineInfo xamlLineInfo, IXamlLineInfoConsumer xamlLineInfoConsumer, XamlContextStack`1 stack, IStyleConnector styleConnector)
   bei System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)
   bei System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri)
   bei System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream)
   bei System.Windows.Application.LoadComponent(Object component, Uri resourceLocator)
   bei -.m..ctor()
   bei -.f.a()
   bei -.f.OnStartup(StartupEventArgs a)
   bei System.Windows.Application.<.ctor>b__1(Object unused)
   bei System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   bei MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
Post Reply

Return to “PR:BF2 Support”