isXander / isXander/Debugify

[Bug] Crash if a mod tries to get the projection matrix outside a level

Open Beginner friendly
#519 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Java
Stars
215
Forks
50
Avg merge
9d 6h
Merged PRs (30d)
1

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?
  1. install vivecraft
  2. enable vr mode (needs a headset, or NullVR mode selected in the settings)
  3. 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.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

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.

Assessment

Tech stack
java
Domain
game-dev
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
65/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.