augustozanellato / monogameuniversaleffects Goto Github PK
View Code? Open in Web Editor NEWMonoGameUniversalEffects allows you to compile MonoGame shaders on platforms other than Windows
License: MIT License
MonoGameUniversalEffects allows you to compile MonoGame shaders on platforms other than Windows
License: MIT License
thanks for the awesome tool!
I'm running your project on the latest OSX Catalina and the latest Monogame development branch.
However when I run my game I'm getting the following error when the shader is loaded:
This MGFX effect was built for a different platform!
apparently the Profile
that is being tried to be loaded is set to 1
, while the expected Profile
for my platform would be 0
(as defined by Shader.OpenGL.cs
)
Do you have any hints for me?
is there some way to get more information about the errors when the shader compilation failed?
right now I get this
.../filename.fx : error : Processor 'RemoteEffectProcessor' had unexpected failure!
System.Exception: There was an error compiling the effect
at MonoGameUniversalEffects.Pipeline.Processors.RemoteEffectProcessor.Process (Microsoft.Xna.Framework.Content.Pipeline.Graphics.EffectContent input, Microsoft.Xna.Framework.Content.Pipeline.ContentProcessorContext context) [0x00123] in <a9399a937851444380f681f94f4a6b2c>:0
at Microsoft.Xna.Framework.Content.Pipeline.ContentProcessor`2[TInput,TOutput].Microsoft.Xna.Framework.Content.Pipeline.IContentProcessor.Process (System.Object input, Microsoft.Xna.Framework.Content.Pipeline.ContentProcessorContext context) [0x0002f] in <b45001942c6a4fef9c4f1ea6659439e0>:0
at MonoGame.Framework.Content.Pipeline.Builder.PipelineManager.ProcessContent (MonoGame.Framework.Content.Pipeline.Builder.PipelineBuildEvent pipelineEvent) [0x00146] in <b45001942c6a4fef9c4f1ea6659439e0>:0
which is not that helpful.
Is there some log file on the virtual machine or something else to check for the exact errors?
Thanks in advance!
The process, which apparently is the server backend for receiving the Shader Compilation Requests, is always spinning the CPU to it's max, also when there are currently no requests being processed.
I suspect it's because of that loop ( I didn't debug )
while (true)
{
//Do nothing
}
maybe just putting a sleep in there could already help
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.