AlgorithmLX / FancyChunks

Adds a fade in animation to chunks loading.
0 stars 0 forks source link

Instant Crash when using shaders (Oculus, 1.18.2) #2

Open Mqony opened 1 year ago

Mqony commented 1 year ago

I noticed that another person also made a bug report, but they didn't send you the crash report or log file. Both are attached below to hopefully help you fix the issue. Thanks!

crash-2023-06-04_13.57.37-client.txt latest.log

Proxwian commented 1 year ago

And another one

crash-2023-07-01_21.57.26-client.txt

AlgorithmLX commented 1 year ago

Give me a time, I fix them..

Mqony commented 1 year ago

Thanks! I'll wait

AlgorithmLX commented 1 year ago

Well.. It's a oculus problem. I try fix them, here is the result:

AlgorithmLX commented 1 year ago

Added a null check, but result is disgusting

https://github.com/AlgorithmLX/FancyChunks/assets/46783751/eaed6c40-5d58-4cdc-8280-f1ae0fa4c9a3

kerudion commented 1 year ago

Since this is a port of my mod to Forge, you can try using the code from future versions that added support for most shaders available. Fixing this isn't an easy task because Iris (Oculus) allows the use of custom shaders, and apparently, each of them has different code and often completely different output formats. This results in a high chance of breaking the shader. This issue isn't a problem only with Sodium (Rubidium) as it has a single GLSL shader that probably will not change for years.

AlgorithmLX commented 1 year ago

Since this is a port of my mod to Forge, you can try using the code from future versions that added support for most shaders available. Fixing this isn't an easy task because Iris (Oculus) allows the use of custom shaders, and apparently, each of them has different code and often completely different output formats. This results in a high chance of breaking the shader. This issue isn't a problem only with Sodium (Rubidium) as it has a single GLSL shader that probably will not change for years.

Okay, I will try..