[EMF] Entity Model Features [Fabric & Forge]

[EMF] Entity Model Features [Fabric & Forge]

34M Downloads

[Bug] Huge FPS drop when loading head models from Cataclysm

Jaimarl opened this issue ยท 4 comments

commented

Describe the bug
When loading head models from Cataclysm, the FPS drops very badly. Happens after every reloading of resources. Logs:

[08:54:10] [Render thread/WARN] [EMF/]: [EMF]: model attempted creation more than 500 times {cataclysm:kobolediator_head_model#main]. EMF is now ignoring this model.
[08:54:10] [Render thread/WARN] [EMF/]: [EMF]: model attempted creation more than 500 times {cataclysm:aptrgangr_head_model#main]. EMF is now ignoring this model.
[08:54:10] [Render thread/WARN] [EMF/]: [EMF]: model attempted creation more than 500 times {cataclysm:draugr_head_model#main]. EMF is now ignoring this model.

To Reproduce
Steps to reproduce the behavior:

  1. See item models in any gui

(please complete the following information):

  • Minecraft Version: 1.20.1
  • EMF version 2.2.6
commented

does the fps return to normal after these couple of message first appear?

it seems the mod's models are not being created in an efficient way and are being recreated every frame

emf will detect this and start ignoring them after 500 frames of this, which can be possibly a bit laggy, but afterwards should return to normal

commented

I could look into lowering the cutoff to be less than 500 attempts, but that mod should really not be recreating the model every frame thats very unnessecary

commented

FPS drops for a couple seconds and then goes back to normal. Is there any blacklist where I can add these models?

commented

you can disable the models in the emf > models > allmodels > modelname settings