ShadowMario / FNF-PsychEngine

Engine originally used on Mind Games mod
Apache License 2.0
1.15k stars 2.22k forks source link

psychlua.FunkinLua has no field runtimeShaders #15714

Open FJRODDUR opened 1 month ago

FJRODDUR commented 1 month ago

Describe your bug here.

I've tried to compile the game on Linux and it doesn't compile because of this runtimeshaders thing All dependencies are installed correctly and i haven't changed anything of source code

Command Prompt/Terminal logs (if existing)

ERROR  source/psychlua/ShaderFunctions.hx:28: characters 13-27

 28 |    if(!funk.runtimeShaders.exists(shader) && !funk.initLuaShader(shader))
    |             ^^^^^^^^^^^^^^
    | psychlua.FunkinLua has no field runtimeShaders

 ERROR  source/psychlua/ShaderFunctions.hx:41: characters 34-48

 41 |     var arr:Array<String> = funk.runtimeShaders.get(shader);
    |                                  ^^^^^^^^^^^^^^
    | psychlua.FunkinLua has no field runtimeShaders

Are you modding a build from source or with Lua?

Source

What is your build target?

Linux

Did you edit anything in this build? If so, mention or summarize your changes.

No, I haven't changed anything

An-enderman commented 4 days ago

Screenshot 2024-11-15 214423 Screenshot 2024-11-15 214433 This worked for me