Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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 /
avatar image
0
Question by UnityMadDev · Jan 22, 2016 at 04:41 PM · android build

Unexpected behaviour after adding animator and Unity editor crash

Hello.

I have realy strange problem which accured after adding animator(I suppose) to prefab Object. Situations looks like follow:

I had object which have only sprite renderer, collider2D and script (movement behaviour) attached. It worked perfect on editor mode, ramote or any kind of platform (PC/Mobile). Then I added animator controller and some animations. Everything looked good until I made build for android.

First problem occured and it manifested as follows: when I spawn prefabObject described above game stuck and reset player position to 0,0 (by the way this object spawn at 0,0). The strange thing is that this bug occur onyl on android build. In editor mode, remote and PC build game works perfect. First thing first I though that prefabObj is broken or damaged...so I create new one with same settings and components. Nothing has changed. Situation looks the same.

The second strange thing is that I have another objects with animator and they work properly. But is not over... I updated Unity to newest version to check if its not problem with software. After that it was even worse. Console show me tons of error like: Invalid AABB a and so on. Fortunately I found solution to that. I was problem with particle system attached to some objects. I turn off all particles and I have no more errors...but it makes Unity editor unusalble. Everytime after press play button Unity crash with following message:

unity the memory file is corrupted position out of bounds.

Only way to make unity usable again it was to replace project's file with backup one (with particle system turned on).

After all it does change anything. With old or new Unity version, with or without particle system, problem with game build on android stayed unchanged.

I tried several things like:

  • animation with exit time and without

  • with animation event and without

  • with script support

It always looks the same: stabile on editor, remote or PC build but stuck on mobile.

At this moment I totally have no idea what is wrong and how to solve it.

I will be very grateful for any advice, or hint

P.S I don't belive it is a problem with performance. There is no more than 10 objects in one time on screen (2D) and animation is like change scale from zero to one.

Comment
Add comment · Show 2
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 Jordi-Bonastre · Jan 25, 2016 at 12:34 PM 0
Share

Could you create a bug report, please?

avatar image UnityMadDev Jordi-Bonastre · Jan 25, 2016 at 05:19 PM 0
Share

I just did a moment ago. We'll see...

0 Replies

· Add your reply
  • Sort: 

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

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

Frame Rate jumps between 20 to 8000 ( in thousands) continuos and periodically. 0 Answers

UnityEditor.BuildPlayerWindow+BuildMethodException - Anyone guide to solve this ERROR please??? 0 Answers

polygoncollider2d does not work on device? 0 Answers

problem with create game Android 2 Answers

Why is this error occuring and how to resolve it ? please help !! 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