-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Linux: Error loading SpriteEffect.ogl.mgfxo #3160
Comments
I ran into this as well, you'll have to either work around this or downgrade Mono and its tools back to 2.10: https://plus.google.com/+flibitijibibo/posts/KzeuHnQt96E Not sure where the regression occurred, not sure if it's been fixed in the next version. |
Ok thanks, I'll see if this has been fixed in Mono and then report a bug if not. |
I've submitted a bug to Mono at https://bugzilla.xamarin.com/show_bug.cgi?id=24454. After a bit more testing, I've noticed that sometimes the build works fine and doesn't have this problem, which is extra weird... I also couldn't reproduce this behaviour with a minimal example, so I'm not sure what exactly is triggering this in MonoGame. |
@tomspilman This is a mono bug not a monogame bug, and it has been fixed. |
Running an empty game that just uses the plain game template from https://github.com/mono/MonoGame/wiki/Tutorials%3A-Creating-a-Game-Class crashes with this exception:
I'm not sure why the traceback says "filename unknown" for every line, I'm using the Debug builds for everything...
The crash is at this line in my
ShooterGame.cs
file:It looks like the error occurs when constructing the SpriteEffect class, at this section:
It looks like for some reason the SpriteEffect.ogl.mgfxo file isn't found, but I can see that it's at
./MonoGame.Framework/Graphics/Effect/Resources/SpriteEffect.ogl.mgfxo
I'm using MonoDevelop 5.4 and Mono 3.10.0 on Fedora 20.
The text was updated successfully, but these errors were encountered: