Invalid entity rotation: NaN, discarding.
Minedoll opened this issue ยท 4 comments
Describe the bug
If a skeleton (or any other skeleton type mob with a bow) fires an arrow at a mob it is riding, the server will stop.
[Server thread/ERROR] [net.minecraft.Util/]: Invalid entity rotation: NaN, discarding.
[Render thread/INFO] [net.minecraft.client.Minecraft/]: Stopping!
After several tests, I found that this issue is related to the following options
skeleton-> skeleton shoot-> arrow inaccuracy
This does not happen with "Enable Skeleton Shoot" = false or "Arrow Inaccuracy" = 0.0
Versions where you encountered the problem (Use the exact version numbers, not 'latest' or similar):
- Minecraft: 1.19.2
- Forge: 43.2.23
- Enhanced AI: EnhancedAI-1.8.4-mc1.19.2
- InsaneLib: 1.7.5-mc1.19.2
Steps to reproduce
- Summon "any mob ridden by a skeleton (or any other skeleton type mob with a bow)"
- If for some reason the skeleton fires an arrow at the mob it is riding, the server will stop.
Screenshots
video-> https://www.youtube.com/watch?v=rtf6hXHiXpQ
Logs
https://pastebin.com/JPAznf55
Can the issue be reproduced with EnhancedAI only (or with a minimal set of mods)?
Yes
But for ease of reproduction, the video above uses the mob battle mod
After further testing, I found a way to reproduce the issue using only enhanced ai
But since it is difficult to explain in writing, please refer to the following video
https://www.youtube.com/watch?v=CRCfp4SyBq4
From the above video, this issue is considered to occur when a skeleton mounted on a mob looks down and shoots an arrow
(and all other mobs affected by the skeleton shoot option)
It did not happen in vanilla or forge only
It only happens when enhanced ai is installed and "skeleton shoot" option is true