Search Issue Tracker

Fixed

Votes

70

Found in

5.0.1p3

Issue ID

694004

Regression

Yes

[IL2CPP] Application crashes if object with running animation is destroyed

iOS

-

1. Open attached project
2. Build to iOS IL2CPP
3. Project will crash on device after few seconds

Note: mono does not have this issue

Comments (17)

  1. 9492a52da921ec16e74534c697bc3fee?d=mm

    Hephalistofene

    Sep 14, 2015 07:48

    Hi, I just ran into the same problem on 5.2.0f3.
    Editor and application crashed on destroying several gameObjects.
    Reading your comments I was able to fix it by adding two simple things. <3
    Basically i get the component Animator of the gameObject and disable it. (.enabled = false;)
    Then I added a 0.1f timer to the Destroy function, and it works.
    Hope this can help!

  2. F510e444a1372e1e0f8b09e21b09e289?d=mm

    bachirk

    Aug 02, 2015 23:02

    This is still happening with 5.1.2f1 it even crashes the Editor, not just on mobile!

  3. 25a55a025b383b55559e1c646eaa819d?d=mm

    mjohnsonOOO

    Jul 21, 2015 21:27

    As the original bug submitter, I can say that version 5.1.1p3 (and I believe as early as 5.1.1p1) is working for us. This includes the sample project I sent to Unity to replicate the crash. If anyone here is still triggering this problem with those versions of Unity, you will likely need to submit a new sample project that triggers the issue.

  4. 47840b339b160daf742aeb04b77103c2?d=mm

    mechagon

    Jun 09, 2015 07:44

    My comment that it would've been fixed in 5.0.2p1 was in the forum thread and based on the fact that I couldn't reproduce it in my specific case. There was no mention about this in the change log so I guess it was just luck on my side.

    We were able to reproduce it in our case also in 5.1.0 so it means it is NOT fixed yet.

  5. 02e297d8c9ef6a68f22ed1aafe658ecc?d=mm

    nindim

    Jun 07, 2015 10:05

    @MANTAS PUIDA

    I don't think this was fixed in 5.0.2p1. The bug would be marked as "Fixed" and not active if that was the case.

    Here are the reported fixes from 5.0.2p1 (notice that 694004 is not in the list)

    Fixes

    (674763) - iOS/IL2CPP: Implemented embedded resources for IL2CPP.
    (692742) - iOS/IL2CPP: Fixed WWWForm.data property getter being extremely slow on IL2CPP.
    (none) - iOS: Fixed crash on A7 SoC when locking the screen.
    (687297) - iOS: Fixed Xcode project supported platforms and SDKs settings.
    (693343) - Mecanim: Fixed duplicated parameter in blend tree of blend tree
    (694616) - Plugins: Windows plugins won't be included to OSX package, when building for X86 architecture.
    (none) - VR: Added 3D splash screen to Unity Personal Edition Builds.
    (679061) - Windows Phone/Store: Fixed assembly converter crashing when a type generic class derives from a generic class which has a generic parameter that is array of generic parameters of the derived class (e. g. class Derived : MyBase<string, T[]>).

  6. E555d721420fc39e6e1cd84f406eda1b?d=mm

    0xsven

    Jun 05, 2015 13:28

    Please ignore my comment. My issue was caused by an infinite loop happening very irregularly and showed the same symptoms as described here.

  7. 535d5e9bdf46d4ceb47a2f5c3f0ea214?d=mm

    haruto.otake

    Jun 04, 2015 02:00

    It's also present in 5.1.0f2.

  8. 0533502859bd6c23d59fa0b359396c58?d=mm

    Mantas Puida

    Jun 03, 2015 14:25

    It was reported as fixed in 5.0.2p1.
    5.1 fix will come with 5.1 patch release 1.

  9. 99eaedcd11613eab5bb92f98cfac8285?d=mm

    bokim

    Jun 02, 2015 16:51

    The same issue occurs in 5.1.0f2 when I try to open a different scene.

  10. 99eaedcd11613eab5bb92f98cfac8285?d=mm

    bokim

    Jun 02, 2015 16:51

    The same issue occurs in 5.1.0f2 when I try to open a different scene.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.