[Bug] Animania Extra Addon 1284: Stack underflow
Expected Behavior
No Stack underflow errors
Actual Behavior
- After installing Animania Extra Addon (no errors before): https://paste.ee/p/xu2je
[Client thread/ERROR] [minecraft/Minecraft]: ########## GL ERROR ########## [17:36:49] [Client thread/ERROR] [minecraft/Minecraft]: @ Post render [17:36:49] [Client thread/ERROR] [minecraft/Minecraft]: 1284: Stack underflow
Steps to Reproduce
- Hard to tell because this is a visual error, maybe using the mods I use.
- I don't know
- Here is full log with modlist from MultiMC: https://paste.ee/p/o7XyX
Version of Minecraft, version of Animania, Single Player or Server
- Playing on single Player
- Minecraft 1.12.2,
- Animania 2.0.0.23,
- Animania Extra Animals 1.0.0.23,
- CraftStudioAPI 1.0.1.95
Screenshots encouraged
In the pit "lake" is water but it is not visible because the error!

Having trouble reproducing this. What was on your screen at the time?
There was water on the screen, but it was hard to capture it because it was flickering.
Also experiencing this, but on a modpack with 98 mods. Gonna be fun to figure out if it's a conflict. Do the animals blink? If so it seems to be timed perfectly with the blinking, certain things in view like Water or modeled TileEntities will disappear along with the blink.
If "blinking" is not supposed to be a thing, probably me seeing their eyes disappear for a moment is just another symptom of the issue.
Tons of these in the Client's log, with no other information before or after:
[17:31:43] [Client thread/ERROR]: @ Post render
[17:31:43] [Client thread/ERROR]: 1284: Stack underflow
[17:31:43] [Client thread/ERROR]: ########## GL ERROR ##########
[17:31:43] [Client thread/ERROR]: @ Post render
[17:31:43] [Client thread/ERROR]: 1284: Stack underflow
[17:31:43] [Client thread/ERROR]: ########## GL ERROR ##########
I have an NVIDIA GTX 1080 for my GPU, running Windows 10 2004, build 19041.630 Minecraft 1.12.2, Forge 14.23.5.2854 Animania 2.0.0.23, Animania Extra Animals 1.0.0.23, CraftStudioAPI 1.0.1.95
Update - Tested it on Minecraft 1.12.2 singleplayer with ONLY:
- Minecraft 1.12.2
- Forge 14.23.5.2854 (MCP 9.42) (ForgeModLoader 8.0.99.99)
- Animania 2.0.0.23,
- Animania Extra Animals 1.0.0.23,
- CraftStudioAPI 1.0.1.95
No other mods in the mods menu, no OptiFine. Steps to reproduce: Spawn or find a body of water Spawn several hedgehogs Watch the water with the hedgehogs onscreen
You should notice the flickering increase with the number of hedgehogs onscreen.
I also confirmed this happens to my friend who has a GTX 1070.
Can you share some steps to reproduce this? I also have seen this issue happen to me but haven't been able to recreate it anymore
@Tschipp
Spawn or find a body of water Spawn several hedgehogs Watch the water with the hedgehogs onscreen
This worked consistently for me, even in an isolated dimension with no other entities in it I was able to reproduce this way.
Ah sorry, missed your above comment. Only saw the lower comment.
No worries!
Also having the same issue. I was able to reproduce it with the instructions provided by @Portalboy. I first noticed it on a larger modpack of my own construction throwing the same OpenGL error, but once removing this mod, it disappeared. I will note: in my modpack, it was weirdly only happening in certain areas and facing between north and southeast. Something in my modpack was probably making it worse, but it stopped happening at all once removed.
I also have the same issue, took me forever to figure out what mod causes it. I first noticed it on survival when I get near an ocean the whole ocean will sometimes disappear
Any progress made on fixing this issue?
Also curious, this is happening for me too.
This bug seems to fix if you use all the Animania addons together. I am now using it like that, and it works.
The issue is there only if you only use the Extra addon on its own.
Can confirm the above, tested on a singleplayer flat world with the following mods and the render flashing occurred:
animania-1.12.2-base-2.0.3.28.jar
animania-1.12.2-catsdogs-1.0.0.28.jar
animania-1.12.2-extra-1.0.2.28.jar
CraftStudioAPI-universal-1.0.1.95-mc1.12-alpha.jar
added in animania-1.12.2-farm-1.0.2.28.jar and the issue stopped happening.
removed animania-1.12.2-extra-1.0.2.28.jar issue remains fixed.
swapped animania-1.12.2-catsdogs-1.0.0.28.jar for animania-1.12.2-extra-1.0.2.28.jar
Tested with only animania-1.12.2-extra-1.0.2.28.jar
I suspect that there is some render related code that is only shipped in the farm module that the other two modules need to function correctly.
Looking at the code, I cannot definitively identify what might be missing from both extras and cats-and-dogs
I had this issue also. I had a GL11 pop. with no push.