Animated Textures or GIF

Hi,

I’m an artist working on a game demo and am in need of some help. I need to load in an animated gif with alpha of some bugs flying into unity. Problem is I can’t get the animated GIF to loop when it’s imported into game. Is there some function I’m forgetting to turn on. Below are my steps:

  1. Drag model from project folder into scene view.
  2. Drag animated gif texture to model
  3. Play game

Results: GIF does not animate.

Thanks for your help.

Unity doesn’t do animated gifs. Instead, you can save the frames as separate textures, make an array of textures with the frames, and loop through the array.

Alternately, you can put the frames into one texture and use a script like this.

–Eric