Search Issue Tracker

Postponed means that the issue was either a feature request or something that requires major refactoring on our side. Since that makes the issue not actionable in the close future we choose to close it as Postponed and add it on our internal roadmaps and technical debt pages instead.

Postponed

Votes

10

Found in

5.2.2p1

Issue ID

742660

Regression

No

[Mono Stripping][iOS] AnimatorController is stripped out even after it has been added to link.xml using Mono scripting backend

Scripting

-

Reproduction steps:
1. Open attached project "AnimatorStripped"
2. Open scene "Demo"
3. Build this scene for iOS
4. Run the build
5. Press the "LoadBundle" button

Expected results:
--- A spinning cube should be spawned from an asset bundle

Actual results:
--- In 5.2.2p3 a cube is spawned, but it is not spinning (error: Could not produce class with ID 91.)
--- In 5.3.0b6 (46b1550107d8) cube is not spawned the game freezes (errors: Could not produce class with ID 33. Could not produce class with ID 65. Could not produce class with ID 91.)

From link.xml:
<assembly fullname="UnityEngine">
<type fullname="UnityEngine.Animator" preserve="all"/>
<type fullname="UnityEngine.RuntimeAnimatorController" preserve="all"/>
</assembly>

Comments (3)

  1. olehholodiuk

    Jun 02, 2020 10:52

    Holly cow, I run into this issue in 2019.3 and it was reported back in 2015. That must be a really serious one

  2. medellin

    Jun 19, 2018 21:02

    I found a workaround for now:

    1) Add an Animator component to a GameObject in your scene.
    2) Set a value for "Controller" on the Animator component.
    3) Done.

  3. Rithy-Jim

    Jan 25, 2016 09:20

    There still no answer about this issue yet?

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.