Search Issue Tracker
By Design
Votes
0
Found in
5.6.0f2
Issue ID
896055
Regression
No
[IL2CPP] Crash on "ProduceClone() [inlined] GetType at BaseObject.h:252" when Loading a Humanoid Rig Character From AssetBundles
Reproduction steps:
1. Open the attached project.
2. Play the "LoaderScene" scene.
- Model loads successfully.
3. Build and run it for iOS.
- Model doesn't load.
- Application crashes:
frame #0: 0x000000010083a410 ProductName`::ProduceClone() [inlined] GetType at BaseObject.h:252 [opt]
frame #1: 0x000000010083a410 ProductName`::ProduceClone() + 16 at CloneObject.cpp:31 [opt]
frame #2: 0x00000001008378c0 ProductName`::CollectAndProduceGameObjectHierarchy() [inlined] CollectAndProduceGameObject + 20 at CloneObject.cpp:63 [opt]
frame #3: 0x00000001008378ac ProductName`::CollectAndProduceGameObjectHierarchy() + 828 at CloneObject.cpp:115 [opt]
frame #4: 0x00000001008374d8 ProductName`::CollectAndProduceClonedIsland() + 196 at CloneObject.cpp:201 [opt]
frame #5: 0x0000000100837d44 ProductName`::CloneObjectImpl() + 48 at CloneObject.cpp:256 [opt]
Note:
Full log in the edit.
Reproduced with:
5.5.3f1, 5.6.0f3, 2017.1.0a5
iPhone 6 10.2.1
IL2CPP
Not reproducible with:
Editor
Mono2x
Comments (7)
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
- Scrollbar in "My Assets" detail window appears compressed/cut off
- Crash on object:runtime_invoke_void__this__ when opening a specific project
- Circle-shaped rendering artefacts visible in Local Volumetric Fog boundaries box in Scene view when Fog Distance is lower than 1
- “Fog Distance” property name and description is unclear in the Inspector window
- Crash with multiple stack traces when using Burst-Compiled Span.Fill()
unity_mMH0P9KtPEcugQ
Sep 22, 2019 13:17
Well seems like when "Strip Engine Code" is disabled under the player settings, everything works
OPBrizee
Sep 04, 2018 10:04
As Bluescrn advised, correct fix is through link.xml, see:
https://docs.unity3d.com/Manual/IL2CPP-BytecodeStripping.html
Normally a log will be emitted indicating the numeric ID of the class that failed to load, these can be looked up here:
https://docs.unity3d.com/Manual/ClassIDReference.html
tomerpeledNG
Nov 27, 2017 08:29
Well seems like when "Strip Engine Code" is disabled under the player settings, everything works
tomerpeledNG
Nov 27, 2017 08:16
By Design? How should we solve this?
AmazingRuss
Nov 19, 2017 22:18
We're just fucked then? Come on guys, this isn't a solution.
bluescrn
Jun 09, 2017 17:13
Check your XCode console output. This can happen when build stripping has stripped out important Unity classes (e.g. animation-related) because there's no references to them in the main build - although they are required by your asset bundles.
If it's this, it's fixable via link.xml (prevent the stripping of specific classes), or simply by adding small assets of the required types to a resources folder, so they're included in the main build
CerberusInteractive-Morgan
May 26, 2017 21:15
By design? What are we suppose to do then? I cant load models with animation?