Critical Error"An Unhandled Exeception"

Help and support regarding PR:BF2 installation and in-game issues
Post Reply
3Blackburn3
Posts: 3
Joined: 2020-12-31 08:32

Critical Error"An Unhandled Exeception"

Post by 3Blackburn3 »

I Downloaded the game before yesterday, and this message appeared to me
I uninstalled the game more than one time and the problem still the same
I wish to reply on my message as soon as possible

Code: Select all

Project Reality Log File
PRLauncher.exe started at: 2021-01-01T17:02:50

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

Method not found: 'Int32 System.Runtime.InteropServices.Marshal.SizeOf(!!0)'.

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.MissingMethodException: Method not found: 'Int32 System.Runtime.InteropServices.Marshal.SizeOf(!!0)'.
   at ??.?..()
   at ??.?.()
   at Reality.BF2.Settings.Video.GetDefaultResolution()
   at Reality.BF2.Settings.Video.CreateDefault(UInt16 )
   at -.f.a()
   at -.f.OnStartup(StartupEventArgs a)
   at System.Windows.Application.<.ctor>b__1(Object unused)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
You do not have the required permissions to view the files attached to this post.
User avatar
Suchar
PR:BF2 Lead Developer
Posts: 2177
Joined: 2016-10-12 13:25
Location: Poland

Re: Critical Error"An Unhandled Exeception"

Post by Suchar »

Update .NET Framework to 4.6
Image
3Blackburn3
Posts: 3
Joined: 2020-12-31 08:32

Re: Critical Error"An Unhandled Exeception"

Post by 3Blackburn3 »

Thank you very much it works :)
Post Reply

Return to “PR:BF2 Support”