[Bug] Huge FPS drop when loading head models from Cataclysm
Jaimarl opened this issue ยท 4 comments
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:
- See item models in any gui
(please complete the following information):
- Minecraft Version: 1.20.1
- EMF version 2.2.6
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
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
FPS drops for a couple seconds and then goes back to normal. Is there any blacklist where I can add these models?