decentraland / decentraland/unity-explorer

NFTs with Animated GIF thumbnails ignore the frame delays

Open
#4,894 10 comments 0 reactions 0 assignees View on GitHub
2-medium bug stale
Dominant language
C#
Stars
23
Forks
17
Avg merge
2d 14h
Merged PRs (30d)
94

Description

### 🛠️ **Build version:**
0.81

### 📔 **Issue Description:**
Animated GIF files can contain specs for the delays per frame.
These should be heeded, not ignored.
For example, the "Red" NFT in the Unity Cafe at 14,100 (left sidewall, rear most NFT), has 600 frames, each with a 0.1 second delay, hence should play in a loop lasting 60 seconds.

At the very least, if you cannot adjust per frame, please at least heed the first delay in the GIF to set a frame rate for the entire GIF.

### **STR:**
1. Go to 14,100 (Unity Cafe)
2. Go into the cafe, to the back of the left sidewall
3. See the NFT named "Red"
4. Time how long the loop lasts

### ✔️ **Expected Result:**
60 seconds (600 frame each with 0.1 second delay), hence 10 fps

### ❌ **Actual Result with evidence:**
Runs about 25 seconds, hence seems to be running at about 24 fps

### ➗ **Repro Index:**

### 🖥️ **Operative system and additional Notes:**
Bug observed on Windows 11, NVidia RTX 3070 GPU.

For reference, you can obtain a copy of the original GIF for 'Red" here:
https://drive.google.com/file/d/1DSwJGrUBKdb9Ek23WovDGrJVPtLRZO-s/view?usp=sharing

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.