project reality header
Go Back   Project Reality Forums > Project Reality Support > PR:BF2 Support
21 Oct 2021, 00:00:00 (PRT)
Register Developer Blogs Project Reality Members List Search Today's Posts Mark Forums Read
PR:BF2 Support Help and support regarding PR:BF2 installation and in-game issues

Reply
 
Thread Tools Display Modes
Old 2021-03-16, 21:15   #1
Twitchy115
Default Crash when logging in

I receive this log whenever I try logging in to PR


Code:
Project Reality Log File
PRLauncher.exe started at: 2021-03-16T14:13:46

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

Provide value on 'System.Windows.Baml2006.TypeConverterMarkupExtension' threw an exception.

Further details can be found in the following file:

C:\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.Windows.Markup.XamlParseException: Provide value on 'System.Windows.Baml2006.TypeConverterMarkupExtension' threw an exception. ---> System.OverflowException: The image data generated an overflow during processing. ---> System.ArithmeticException: Overflow or underflow in the arithmetic operation.
   --- End of inner exception stack trace ---
   at System.Windows.Media.Imaging.ColorConvertedBitmap.FinalizeCreation()
   at System.Windows.Media.Imaging.BitmapSource.CreateCachedBitmap(BitmapFrame frame, BitmapSourceSafeMILHandle wicSource, BitmapCreateOptions createOptions, BitmapCacheOption cacheOption, BitmapPalette palette)
   at System.Windows.Media.Imaging.BitmapFrameDecode.FinalizeCreation()
   at System.Windows.Media.Imaging.BitmapDecoder.SetupFrames(BitmapDecoder decoder, ReadOnlyCollection`1 frames)
   at System.Windows.Media.Imaging.BitmapDecoder.get_Frames()
   at System.Windows.Media.Imaging.BitmapFrame.CreateFromUriOrStream(Uri baseUri, Uri uri, Stream stream, BitmapCreateOptions createOptions, BitmapCacheOption cacheOption, RequestCachePolicy uriCachePolicy)
   at System.Windows.Media.ImageSourceConverter.ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object value)
   at MS.Internal.Xaml.Runtime.ClrObjectRuntime.CallProvideValue(MarkupExtension me, IServiceProvider serviceProvider)
   --- End of inner exception stack trace ---
   at System.Windows.Markup.XamlReader.RewrapException(Exception e, IXamlLineInfo lineInfo, Uri baseUri)
   at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)
   at System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri)
   at System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream)
   at -.n.InitializeComponent()
   at -.n..ctor()
   at -.f.d.a(Object a, EventArgs b)
   at PRLauncher.WPF.ViewModel.Pages.LoginPageViewModel.o.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   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)
Twitchy115 is offline Reply With Quote
Old 2021-03-29, 01:00   #2
Twitchy115
Default Re: Crash when logging in

Seriously? Not one person can help?
Twitchy115 is offline Reply With Quote
Old 2021-03-29, 15:02   #3
[R-DEV]​AlonTavor
PR:BF2 Developer
PR Server License Administrator
Default Re: Crash when logging in

Try this https://www.realitymod.com/forum/sho...95#post2205395
AlonTavor is offline Reply With Quote
Old 2021-04-02, 23:41   #4
Twitchy115
Default Re: Crash when logging in

No luck, still throwing the error when I try to log in
Twitchy115 is offline Reply With Quote
Old 2021-09-05, 05:55   #5
Twitchy115
Default Re: Crash when logging in

Quote:
Originally Posted by AlonTavor View Post

@Alon

https://imgur.com/a/szP3gc6
Twitchy115 is offline Reply With Quote
Old 2021-09-07, 09:19   #6
[R-DEV]Mats391
PR:BF2 Lead Developer
Supporting Member
PR Server License Administrator

Mats391's Avatar
Default Re: Crash when logging in

Please try switching the Device Profile to sRGB IEC61966-2.1 instead of the virtual profile.


Please let us know if this solution works for you and is suitable. We will further investigate how to resolve this issue without changing profile.

Mineral: TIL that Wire-guided missiles actually use wire
Mats391 is offline Reply With Quote
Old 2021-09-07, 16:47   #7
Twitchy115
Default Re: Crash when logging in

Yup, so far its working. Have gotten past the steam login splash, so so far so good.
Twitchy115 is offline Reply With Quote
Old 2021-09-07, 18:01   #8
[R-DEV]Mats391
PR:BF2 Lead Developer
Supporting Member
PR Server License Administrator

Mats391's Avatar
Default Re: Crash when logging in

Quote:
Originally Posted by Twitchy115 View Post
Yup, so far its working. Have gotten past the steam login splash, so so far so good.
Glad to hear that! We also found the cause for this issue and will fix it in the next update. Until then you will have to make sure your color profile is set as shown above.

Mineral: TIL that Wire-guided missiles actually use wire
Mats391 is offline Reply With Quote
Old 2021-09-07, 21:33   #9
Twitchy115
Default Re: Crash when logging in

Will do, thank you for hte help
Twitchy115 is offline Reply With Quote
Reply

Thread Tools
Display Modes

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 01:51.