Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
2 captures
12 Jun 22 - 14 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
  • Help Room /
avatar image
1
Question by El_boy · Dec 23, 2015 at 06:45 PM · animationunity 5animatorlegacy

Unity v5.3.1f1 - Animator not working on camera in android device - Legacy animations don't record rotation.

I made a series of camera animations using the Animator component, made transitions from one clip to another + events, all very beautiful in the editor. I hit Build & Run with a Nexus 4 device hooked by USB, using Unity Remote app and I get a blue screen. When I uncheck the Animator component on the Main Camera and build, everything is fine.
Ok, there's some sort of problem with the Animator component on the camera. Let's use good old Legacy. With previous versions of Unity, you make a cube, add Animation component, make a clip in the Animation window, rotate it - and you have an animation that rotates. This is surprisingly not so in Unity v5.3.1f1.
The rotation doesn't get recorded. Are these bugs or am I missing something. Thanks in advance.

Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image ChrisLoh · Jan 28, 2016 at 12:22 AM 1
Share

Here is the solution: For each camera animation using rotation, right-click on the rotation property that you have key-framed in the animation window, and change the interpolation mode to "Quaternion" or "Euler angles (Quaternion approximations)". From: http://forum.unity3d.com/threads/animating-rotation-not-working-on-android-build.375078/#post-2484669 It definitely works for me, to my immense relief.

4 Replies

· Add your reply
  • Sort: 
avatar image
4
Best Answer

Answer by gohil-krunal-27 · Feb 01, 2016 at 09:33 AM

Thanks to @ChrisLoh

Solution: In Unity 5.3, For each Camera or Game object having animation using rotation, right-click on the rotation property that you have key-framed in the animation window, and change the interpolation mode to "Quaternion" or "Euler angles (Quaternion approximations)" instead of default mode "Euler angles".

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image gohil-krunal-27 · Feb 02, 2016 at 08:52 AM 0
Share

@El_boy and @JamesArndt

avatar image El_boy · Feb 02, 2016 at 07:12 PM 0
Share

Fantastic, works like a charm! Thanks a lot!

avatar image
0

Answer by JamesArndt · Dec 31, 2015 at 04:35 AM

I'm having the exact same issue in 5.30f

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by ChrisLoh · Jan 27, 2016 at 05:25 AM

I get the same problem - camera animation works in the editor but not on Android.

The animator on the camera (which contains method triggering events) shows only blue screen during the animation on my Galaxy Note 3. At the start and end of the animation, the camera shows the entire scene - just not during animation.

How do we get the Unity team to address this issue?

I'm using USB and just Unity's internal Build & Run.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by gbabic · Feb 09, 2016 at 01:56 AM

The answer from @gohil.krunal.27 / @ChrisLoh worked for me using Quaternion Approximations but not pure Quaternion.

Thanks Guys!

(Tested on Sony Xperia)

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

60 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

What is causing animation Position strange position changes 0 Answers

Animation not recording 0 Answers

play .anim when i shot a asteroid/gameobject 0 Answers

Unable to play Death Animation. Parameters missing? 1 Answer

I can't see or access a state in the Animation Controler 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges