Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

System.ExecutionEngineException in LilyPathDemo #10

Open
RudeySH opened this issue Sep 11, 2016 · 2 comments
Open

System.ExecutionEngineException in LilyPathDemo #10

RudeySH opened this issue Sep 11, 2016 · 2 comments

Comments

@RudeySH
Copy link

RudeySH commented Sep 11, 2016

I realize this is a 3-4 year old library by now, but I was hoping someone could help out. I'm trying to build the LilyPathDemo. I had to update OpenTK because it wasn't detecting I'm running Windows. After updating OpenTK and OpenTK.GLControl, I'm getting the following exception on line 79 in GraphicsDeviceService.cs:

Managed Debugging Assistant 'FatalExecutionEngineError' has detected a problem

Additional information: The runtime has encountered a fatal error. The address of the error was at 0x731f017b, on thread 0x3598. The error code is 0xc0000005. This error may be a bug in the CLR or in the unsafe or non-verifiable portions of user code. Common sources of this bug include user marshaling errors for COM-interop or PInvoke, which may corrupt the stack.

An unhandled exception of type 'System.ExecutionEngineException' occurred in MonoGame.Framework.dll

I realize it's probably an unhelpful generic exception, but it leads me to believe the LilyPathDemo is not compatible with the latest MonoGame or OpenTK.

At the moment I'm unable to see how LilyPath works. I could try figuring it out by looking at the source of the demo but it would be more easy to see it in action right away.

@jaquadro
Copy link
Owner

So, the demo project is written as a winforms project, but MonoGame hasn't played nicely with WinForms for a couple years now. I think the rest of the library would be fine, but if you want to see it in action, you'll need to embed it into a game (maybe the game demo works?).

@RudeySH
Copy link
Author

RudeySH commented Sep 12, 2016

maybe the game demo works?

Do you mean the Windows 8 store demo with the logo? I haven't tried that one yet, I don't have the Windows 8 SDK installed at the moment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants