question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Texture sheet animation module Sprite mode not working

See original GitHub issue

Describe the bug Texture sheet animation module Sprite mode not working, hole texture of a multi-packed sprite is shown.

To Reproduce Steps to reproduce the behavior:

  1. Set particle system sheet animation module on, mode to sprite
  2. Assign several sprites from a multi-packed spritesheet.
  3. UI particle set animatable properties to _MainTex_ST
  4. Playback, whole spritesheet shown instead of sprite.

Environment (please complete the following information):

  • Version [3.0.0-preview.11]
  • Platform: [e.g. Editor(Windows)]
  • Unity version: [e.g. 2020.1.0b8]

Additional context Digging through the code, I found that UIParticle.cs will set textureSheet.uvChannelMask https://github.com/mob-sakai/ParticleEffectForUGUI/blob/b0e2688c38a695c301be85ce9542d154a94627a2/Scripts/UIParticle.cs#L93 comment out this line works for me.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
mob-sakaicommented, Aug 12, 2020

I did it! 👍 This API solves the issue!

Before: Aug-12-2020 21-07-44 After: Aug-12-2020 21-08-41

0reactions
soimycommented, Aug 13, 2020

Thank you!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Texture Sheet Animation not working in Sprites mode?
Hello! I am experiencing a weird issue trying to set up a Texture Sheet Animation in a particle system. I am using a...
Read more >
Texture Sheet Animation module
A particle's graphic need not be a still image. This module lets you treat the Texture as a grid of separate sub-images that...
Read more >
Unable to use sprites to animate a vfx object #136
The Texture Sheet Animation module of Particle System doesn't appear to work in Sprite mode with your script. Instead of showing multiple frames...
Read more >
Texture Sheet Animation module - Particle System
Allows you to specify exactly which UV streams are affected by the Particle System. Sprite mode properties. Property, Function. Mode popup, Select Sprites ......
Read more >
PLEASE HELP particle texture sheet animation not working
Set the tiling on the material back to 1,1, theres no need to change it. Also dont use sprite texture type, just import...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found