Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom animated sprites are frozen #2601

Open
kikugie opened this issue Jul 15, 2024 · 0 comments
Open

Custom animated sprites are frozen #2601

kikugie opened this issue Jul 15, 2024 · 0 comments
Labels
A-mods Area: Mod compatibility F-good-first-issue Flag: Good first issue for new contributors T-bug Type: Bug
Milestone

Comments

@kikugie
Copy link

kikugie commented Jul 15, 2024

Bug Description

In my mod Elytra Trims I have an animated texture, which is then rendered on top of the elytra model (see links for code references). In vanilla it renders correctly, where as with Sodium it freezes at a single frame. Also reloading resource packs with F3+T advances the frozen frame.

(Copied from the Discord thread as requested)

  1. Texture file and metadata
  2. Texture loading code
  3. Texture rendering code

Reproduction Steps

Mod list:

  • Minecraft 1.21
  • Elytra Trims 3.4.1
  • Sodium 0.5.11
  • Fabric API 0.100.7
  • Fabric Language Kotlin 1.11.0

Join a singleplayer world. Add the animated texture by combining elytra with an apple and a rotten flesh in a crafting grid. The texture will appear frozen.
Close Minecraft, disable Sodium and rejoin the world - the texture will be animated.

Log File

latest.log

Crash Report

crash-2024-07-15_16.34.05-client.txt

@kikugie kikugie added the S-needs-triage Status: Needs triage label Jul 15, 2024
@jellysquid3 jellysquid3 added T-bug Type: Bug A-mods Area: Mod compatibility and removed S-needs-triage Status: Needs triage labels Jul 15, 2024
@jellysquid3 jellysquid3 added this to the Sodium 0.5.12 milestone Jul 23, 2024
@jellysquid3 jellysquid3 added the F-good-first-issue Flag: Good first issue for new contributors label Jul 23, 2024
MCRcortex pushed a commit to MCRcortex/sodium-fabric that referenced this issue Jul 23, 2024
…hat a new SpriteCoordinateExpander is created every frame.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-mods Area: Mod compatibility F-good-first-issue Flag: Good first issue for new contributors T-bug Type: Bug
Projects
None yet
Development

No branches or pull requests

2 participants