Page 1 of 1

Crash when logging in

Posted: 2021-03-16 21:15
by Twitchy115
I receive this log whenever I try logging in to PR

Code: Select all

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:

[url]C:\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/forumdisplay.php?f=27]Visit Support Forum[/url]

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

Re: Crash when logging in

Posted: 2021-03-29 01:00
by Twitchy115
Seriously? Not one person can help?

Re: Crash when logging in

Posted: 2021-03-29 15:02
by AlonTavor

Re: Crash when logging in

Posted: 2021-04-02 23:41
by Twitchy115
No luck, still throwing the error when I try to log in

Re: Crash when logging in

Posted: 2021-09-05 05:55
by Twitchy115

Re: Crash when logging in

Posted: 2021-09-07 09:19
by Mats391
Please try switching the Device Profile to sRGB IEC61966-2.1 instead of the virtual profile.
Image

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.

Re: Crash when logging in

Posted: 2021-09-07 16:47
by Twitchy115
Yup, so far its working. Have gotten past the steam login splash, so so far so good.

Re: Crash when logging in

Posted: 2021-09-07 18:01
by Mats391
Twitchy115 wrote: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.

Re: Crash when logging in

Posted: 2021-09-07 21:33
by Twitchy115
Will do, thank you for hte help