Cosmetica-cc / Cosmetica

Custom public cosmetics, Free for everyone. Forever. Ongoing Development is happening at Cosmetica-2, still WIP
https://cosmetica.cc
Apache License 2.0
54 stars 11 forks source link

[BUG] Equipping cosmetics with optifabric installed crashes the game. #82

Closed Gingerail closed 1 year ago

Gingerail commented 1 year ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Load in with Optifabric and Cosmetica installed on fabric
  2. Go into cosmetica
  3. Attempt to equip any hat
  4. The game crashes immediately

Expected behavior Not crashing

Screenshots If applicable, add screenshots to help explain your problem.

Setup (please complete the following information):

Additional context After removing optifine and optifabric, the issue did not persist.

eyezahhhh commented 1 year ago

Unfortunately the latest version of Cosmetica makes no attempt to be compatible with OptiFabric and OptiFine. We may look at improving compatibility in future, but the closed-source nature of OptiFine makes this very difficult.

I'd recommend using alternatives to OptiFine if possible, a good list of such mods can be found here.

If you're in a situation where you must use OptiFine (ie: you're using a very niche resource pack or PojavLauncher), then the best you can do is use Arcmetica. If you're using PojavLauncher, then this is built in and you just need to enable Cosmetica/Arcmetica in the launcher.