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

Rubidium and Better Loading Screen incompatibility #90

Closed
yojakeo opened this issue Apr 17, 2022 · 2 comments
Closed

Rubidium and Better Loading Screen incompatibility #90

yojakeo opened this issue Apr 17, 2022 · 2 comments

Comments

@yojakeo
Copy link

yojakeo commented Apr 17, 2022

Near the point of booting to the main menu the game fails to create a fence object. I isolated the two mods just to make sure and it crashes the same way. But including both just in case.

Isolated crash (only Rubidium and BLS): https://pastebin.com/WmzLexVe
Modpack crash: https://pastebin.com/K82yhmQz

Also some insight from someone on the forge discord and they said this

"Hmm
I searched github and it seems that error is from sodium
So its rubidium erroring

throw new RuntimeException("Failed to create fence object");

Ah, its a fence in terms of opengl, not an actual block"

@aking4125
Copy link

aking4125 commented May 4, 2022

We're getting a similar crash report here.

crash-2022-05-04_11.04.05-client.txt

@sandtechnology
Copy link

sandtechnology commented Jul 18, 2022

It's caused by the hacky way of Better Loading Screen, it changing context on the render thread by detach and create its own context, which making this failed to execute (since it detached context this time, and there are no context to do this).
Although is the fault of Better Loading Screen, but the workaround for Rubidium is checking if context existed:

if (GLFW.glfwGetCurrentContext() != 0L) {
//Do something you want
}

And, the patched version of rubidium using this workaround is there, use at your own risk.
(You need to unzip the jar from this zip).
rubidium-0.5.2a-patched.jar.zip

@Asek3 Asek3 closed this as completed in deb88f4 Aug 23, 2022
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

3 participants