Search Issue Tracker

Fixed in 2017.1.0f3

Fixed in 5.6, 2017.1

Votes

1

Found in

5.6.1p2

Issue ID

919058

Regression

Yes

[IL2CPP] Crash in "QueryComponentByType() [inlined] IsDerivedFrom at TypeInfo.h"

IL2CPP

-

Reproduction steps:
1. Open the attached project.
2. Build and run it for iOS.
- Application crashes:
frame #0: 0x000000010044c300 ProductName`::QueryComponentByType() [inlined] IsDerivedFrom at TypeInfo.h:79 [opt]
frame #1: 0x000000010044c300 ProductName`::QueryComponentByType() [inlined] IsBaseOf at TypeInfo.h:232 [opt]
frame #2: 0x000000010044c300 ProductName`::QueryComponentByType() at GameObject.cpp:277 [opt]
frame #3: 0x00000001006cd984 ProductName`::BindCustom() at GenericAnimationBindingCache.cpp:644 [opt]
frame #4: 0x00000001006b36b8 ProductName`::CreateAnimatorGenericBindings() at AnimatorGenericBindings.cpp:779 [opt]
frame #5: 0x00000001006adf18 ProductName`::SetupBindingsDataSet() at Animator.cpp:2176 [opt]

Reproduced with:
5.6.1p3, 2017.1.0b9, 2017.2.0a3
iPad Pro 9.7” iOS 10.2.1, iPad Mini 4 9.3.2
IL2CPP

Not reproducible with:
5.5.4f1
Mono

Regression introduced in:
5.6

Note:
Call stack attached in the edit.

Comments (2)

  1. A9c925220d01a153b77c2fa679a1a6b0?d=mm

    Nabren

    Aug 03, 2017 21:16

    I was running into a similar crash. It ended up being that we had an Animator entering a state with an Animation animating a property on a component that was missing from the GameObject.

    This specific component was also not used anywhere else in the project and "Strip Engine Code" stripped the type.

    Turning off Strip Engine Code or removing the missing component from the Animation both fixed this issue for me.

  2. C3aa55a24a3ad486cb8c234a18e6d691?d=mm

    sgygkgk

    Jun 28, 2017 05:28

    I have the same problem.
    How was it resolved?

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.