Oculus

Oculus

84M Downloads

Crash when used with HQM

MaverickMartyn opened this issue ยท 3 comments

commented

Minecraft Version

1.20.1

Oculus Version

oculus-mc1.20.1-1.8.0.jar

Rubidium / Embeddium Version

embeddium-0.3.31+mc1.20.1.jar

Operating System

Windows 11

What is your GPU?

Nvidia Geforce GTX 1080 8GB

Java Version

Eclipse Adoptium jdk-21.0.6.7-hotspot

Reproduction Steps

  1. Install Hardcore Questing Mode alongside Oculus.
  2. Add a config that uses for example the "KILL" task type.
  3. Attempt to create a new world.
  4. Crash, due HQM not recognizing the "KILL" task type.
    It works fine if you remove Oculus. I suspect some kind of change in how event busses work.

Log: https://mclo.gs/x9fLTRh

Crash Report file and latest.log

Additional context

crash-2025-04-09_18.45.21-server.txt

commented

(Background from HQM side)
Normally, ResourceLocation's do not allow for capitalized letters. HQM used that fact to detect some old capitalized ids and know when to convert them to new lowercase ResourceLocation-based ids. But it seems that Oculus may have changed ResourceLocation to allow capitalized letters. As a consequence, the old ids ended up not being recognized by HQM.

commented

@kirderf1 provided a workaround as well, for anyone else who runs into this.
You can manually migrate your config, by replacing the old IDs yourself. In this case that meant replacing "KILL" with "hardcorequesting:kill".

commented

Example HQM config:
A_Taste_of_Vanilla.json