[Bug] Crash if a mod tries to get the projection matrix outside a level
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 65/100
Research direction
Start with src/client/java/dev/isxander/debugify/client/mixins/basic/mc267376/GameRendererMixin.java at the linked line, then inspect the attached crash log and reproduce the issue with Vivecraft in VR or NullVR mode. Done means requesting the projection matrix outside a level no longer crashes the game.
Written by the indexing model from the issue text.
Description
Bug Description
When a mod tries to get the projection matrix outside a level this line causes a crash, because the player will be null.
https://github.com/isXander/Debugify/blob/f6e7580339f8a5774965a138de45bc6a96224256/src/client/java/dev/isxander/debugify/client/mixins/basic/mc267376/GameRendererMixin.java#L16
one mod that causes this is Vivecraft when in VR mode
How to Reproduce?
- install vivecraft
- enable vr mode (needs a headset, or NullVR mode selected in the settings)
- game will crash
Expected Behavior
no crash
Version
Debugify 1.21.11+1.0
Fabric/Quilt Loader Version
Fabric Loader 0.18.4 for 1.21.11
Logs or additional context
https://github.com/user-attachments/files/24648496/crash-2026-01-15_17.37.57-client.txt
Has not been reported.
- I made sure this bug hasn't already been reported.
Is on most update to date version.
- I made sure I am using the most up to date fabric/quilt loader and mod version.
- Dominant language
- Java
- Stars
- 215
- Forks
- 50
- Avg merge
- 9d 6h
- Merged PRs (30d)
- 1
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from isXander/Debugify
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 1/5 Under an hour Newbie friendliness 65/100
-
Mention that this is a mod specifically for Minecraft: Java Edition in the repository description Open
Difficulty 1/5 Under an hour Newbie friendliness 65/100
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
patch request
Difficulty 5/5 Over a week Newbie friendliness 25/100
All issues in isXander/Debugify
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
infinispan/infinispan#18150 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
opensearch-project/k-NN#3597 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100