Skip to content

Game crash after use framebuffer screenshot function. #64

Description

@TrangggP

sorry for my English!

I am current using MC 1.21 - Fabric Loader 0.15.11 - Fabric API 0.120.0 - ResolutionControl 3 1.21-4.0.0
After use Screenshot Framebuffer keybind, game crash immediately ;-;

Error log part:

[21:17:59] [Render thread/ERROR]:
 Unreported exception thrown!
java.lang.IllegalStateException: java.io.IOException: The system cannot find the path specified
	at io.github.ultimateboomer.resolutioncontrol.util.RCUtil.getScreenshotFilename(RCUtil.java:43) ~[ResolutionControl-3-1.21-4.0.0.jar:?]
	at io.github.ultimateboomer.resolutioncontrol.ResolutionControlMod.saveScreenshot(ResolutionControlMod.java:129) ~[ResolutionControl-3-1.21-4.0.0.jar:?]
	at io.github.ultimateboomer.resolutioncontrol.ResolutionControlMod.setShouldScale(ResolutionControlMod.java:183) ~[ResolutionControl-3-1.21-4.0.0.jar:?]
	at net.minecraft.class_757.handler$cna000$resolutioncontrol3$onRenderWorldEnd(class_757.java:6604) ~[client-intermediary.jar:?]
	at net.minecraft.class_757.method_3188(class_757.java:1117) ~[client-intermediary.jar:?]
	at net.minecraft.class_757.method_3192(class_757.java:850) ~[client-intermediary.jar:?]
	at net.minecraft.class_310.method_1523(class_310.java:1285) ~[client-intermediary.jar:?]
	at net.minecraft.class_310.method_1514(class_310.java:882) [client-intermediary.jar:?]
	at net.minecraft.client.main.Main.main(Main.java:256) [client-intermediary.jar:?]
	at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:470) [fabric-loader-0.15.11.jar:?]
	at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74) [fabric-loader-0.15.11.jar:?]
	at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23) [fabric-loader-0.15.11.jar:?]
Caused by: java.io.IOException: The system cannot find the path specified
	at java.base/java.io.WinNTFileSystem.createFileExclusively0(Native Method) ~[?:?]
	at java.base/java.io.WinNTFileSystem.createFileExclusively(Unknown Source) ~[?:?]
	at java.base/java.io.File.createNewFile(Unknown Source) ~[?:?]
	at io.github.ultimateboomer.resolutioncontrol.util.RCUtil.getScreenshotFilename(RCUtil.java:41) ~[ResolutionControl-3-1.21-4.0.0.jar:?]
	... 11 more

Full latest log: https://mclo.gs/WXv6uu4 .

It continues even if in my mods folder there is only fabric api, mod menu and resolutioncontrol. Please help me;-;

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions