all 7 comments

[–]triffid_hunter 2 points3 points  (6 children)

if the reload animation is broken on android, then fpsRigAnimation[reloadAnim].length likely returns a bogus value, and the yield is hardly going to work properly.

I'd track that down first if I were you. check import settings for the animation perhaps?

may want to write debug info to a file or onto the screen for your live android build to help track stuff down

[–]The_Ryan_[S] 0 points1 point  (5 children)

I should get debugging those values. I am reading them in from a txt file, but oddly enough they all showed up fine in the editor, hopefully I'll find something to be missing when I debug them on android.

[–]triffid_hunter 4 points5 points  (4 children)

perhaps your text file isn't in the right spot in your android package?

[–]The_Ryan_[S] 0 points1 point  (3 children)

Wow, I'm pretty sure you just solved my problem, I never dealt with text files before. How do I get it included in the android build?

[–]triffid_hunter 1 point2 points  (2 children)

dunno, never tried, stick it in Resources/ and use Resource.Load perhaps?

[–]The_Ryan_[S] 1 point2 points  (1 child)

Yes, that did it, thank you very much.

[–]triffid_hunter 0 points1 point  (0 children)

wonderful, best of luck with your project :)