Search Issue Tracker
Fixed in 2017.1.0f3
Fixed in 5.6.X, 2017.1.X
Votes
1
Found in
5.6.1p2
Issue ID
919058
Regression
Yes
[IL2CPP] Crash in "QueryComponentByType() [inlined] IsDerivedFrom at TypeInfo.h"
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)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
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.
sgygkgk
Jun 28, 2017 05:28
I have the same problem.
How was it resolved?