Skip to content
New issue

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

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

Already on GitHub? # to your account

Game crashing when trying to enable shaders : "Couldn't load vanilla shader from effective:shaders/core/soft_particle.fsh" #299

Open
ErranticSam opened this issue Jan 29, 2025 · 0 comments

Comments

@ErranticSam
Copy link

ErranticSam commented Jan 29, 2025

My game crashes when I try to enable the shaders and Effective is enabled too, and this error is showing :

foundry.veil.api.glsl.GlslSyntaxException: Invalid Version: #version 150. For input string: "150" at position 22: #version 150#line 0 1<--[HERE]
	at knot/foundry.veil.impl.glsl.GlslTokenReader.error(GlslTokenReader.java:117) ~[veil-1.0.0.83-3b671f063463ac31.jar:?]
	at knot/foundry.veil.api.glsl.GlslParser.parse(GlslParser.java:117) ~[veil-1.0.0.83-3b671f063463ac31.jar:?]
	at knot/foundry.veil.api.glsl.GlslParser.preprocessParse(GlslParser.java:95) ~[veil-1.0.0.83-3b671f063463ac31.jar:?]
	at knot/foundry.veil.impl.client.render.shader.transformer.VanillaShaderProcessor.modify(VanillaShaderProcessor.java:53) ~[veil-1.0.0.83-3b671f063463ac31.jar:?]
	at knot/foundry.veil.impl.client.render.dynamicbuffer.VanillaShaderCompiler.compileShader(VanillaShaderCompiler.java:80) ~[veil-1.0.0.83-3b671f063463ac31.jar:?]
	at knot/foundry.veil.impl.client.render.dynamicbuffer.VanillaShaderCompiler.lambda$reload$2(VanillaShaderCompiler.java:120) ~[veil-1.0.0.83-3b671f063463ac31.jar:?]
	at knot/foundry.veil.impl.ThreadTaskScheduler.run(ThreadTaskScheduler.java:89) ~[veil-1.0.0.83-3b671f063463ac31.jar:?]
	at java.base/java.lang.Thread.run(Thread.java:1583) [?:?]

I can safely enable shaders without Effective enabled.

EDIT : seems to be the same error code than #298

EDIT 2 : forgot to link the error log

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

No branches or pull requests

1 participant