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.
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
- The Scene View becomes gray and "NullReferenceException" errors are thrown when attaching the Unity Editor process to RenderDoc
- Memory usage rapidly rises when changing colors in the color wheel
- Physically Based Sky's Horizon and Zenith Tint Color Selection Bars don't have immediate access to color pickers
- EmptyAdditionalLightShadowmapTexture leaks from memory when URP quality level is changed using QualitySettings.SetQualityLevel
- Referenced ScriptableObject field does not get updated and cannot be set to "None" when there are no Objects of that type
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?