Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Game crash after use framebuffer screenshot function. #64

Open
TrangggP opened this issue Aug 20, 2024 · 0 comments
Open

Game crash after use framebuffer screenshot function. #64

TrangggP opened this issue Aug 20, 2024 · 0 comments

Comments

@TrangggP
Copy link

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;-;

@TrangggP TrangggP changed the title Game crash after taking framebuffer screenshot function. Game crash after use framebuffer screenshot function. Aug 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant