Started by 
TheMineCommander
 on 
    Topic category: Help with Minecraft modding (Java Edition)
I am trying to make an overlay (target is ingame, priority is highest, and I have set a base texture) but it keeps giving me this error:
Executing Gradle task: runClient 
Build info: MCreator 2022.2.34517, fabric-1.19.2, 64-bit, 16252 MB, Windows 10, JVM 17.0.3, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk, started on: 2022-10-16-16:29:26 
  
> Configure project : 
Fabric Loom: 0.12.56 
Not publishing sources jar as it was not found. Use java.withSourcesJar() to fix. 
> Task :compileJava FAILED 
C:\Users\MyUsername\MCreatorWorkspaces\shader_mod\src\main\java\net\mcreator\shadermod\client\gui\OverlayOverlay.java:48: error: cannot find symbol 
         GuiComponent.blit(matrices, 0, 0, 0, 0, w, h, w, h); 
                                                 ^ 
  symbol:   variable w 
  location: class OverlayOverlay 
C:\Users\MyUsername\MCreatorWorkspaces\shader_mod\src\main\java\net\mcreator\shadermod\client\gui\OverlayOverlay.java:48: error: cannot find symbol 
         GuiComponent.blit(matrices, 0, 0, 0, 0, w, h, w, h); 
                                                    ^ 
  symbol:   variable h 
  location: class OverlayOverlay 
C:\Users\MyUsername\MCreatorWorkspaces\shader_mod\src\main\java\net\mcreator\shadermod\client\gui\OverlayOverlay.java:48: error: cannot find symbol 
         GuiComponent.blit(matrices, 0, 0, 0, 0, w, h, w, h); 
                                                       ^ 
  symbol:   variable w 
  location: class OverlayOverlay 
C:\Users\MyUsername\MCreatorWorkspaces\shader_mod\src\main\java\net\mcreator\shadermod\client\gui\OverlayOverlay.java:48: error: cannot find symbol 
         GuiComponent.blit(matrices, 0, 0, 0, 0, w, h, w, h); 
                                                          ^ 
  symbol:   variable h 
  location: class OverlayOverlay 
4 errors 
FAILURE: Build failed with an exception. 
* What went wrong: 
Execution failed for task ':compileJava'. 
> Compilation failed; see the compiler error output for details. 
* Try: 
> Run with --stacktrace option to get the stack trace. 
> Run with --info or --debug option to get more log output. 
> Run with --scan to get full insights. 
* Get more help at https://help.gradle.org 
BUILD FAILED in 1s 
1 actionable task: 1 executed 
  
BUILD FAILED 
Task completed in 8 seconds 
  
I don't know why this is happening; can anyone help?
Did you edited manually your Overlay?
I did not, but it worked only when I added an image instead of using a background
I join the topic, I also do not work on the plugin fabric 1.19.2. Overlay not comp, even if you create it completely empty regardless of settings or procedures