SpongePowered / Mixin

Mixin is a trait/mixin and bytecode weaving framework for Java using ASM
MIT License
1.41k stars 194 forks source link

Fields in a mixin with @Unique crashes upon load #612

Open kevinthegreat1 opened 1 year ago

kevinthegreat1 commented 1 year ago
Screen Shot 2022-10-29 at 21 41 12

this crashes with the following log 2022-10-29-4.log without @Unique it works fine.
None of the mixin target classes have the fields, nor does any superclass.
It looks like the accesses to the fields are being refactored, but not the actual fields.

Any help would be appreciated.

Mumfrey commented 3 months ago

I've attempted to reproduce this using a few different approaches and I am just not able to make it occur. It's possible this is specific to fabric mixin but since it's been a while since this issue was opened would you be able to verify the behaviour still occurs.

Earthcomputer commented 3 months ago

Fabric mixin changes the logic of @Unique as far as I'm aware.

Mumfrey commented 3 months ago

I'm going to close this for now then, since I can't reproduce it here and I'm going to assume it either is a fabric bug or was a fabric bug.