Crash when load scene with mesh from assetbundle on iOS devices
Hi,
It's my first time to have a 3D model in my game.
My game crashes when I load scene from AssetBundle on iOS devices.
(same project on editor and Android devices are fine.)
.
if I remove 3D model's GameObject in the scene, it pass.
I try to load model from AssetBundle after scene load done.
it crashes when GameObject.Instantiate.
I change 3D model to a cube, it crashes, too.
.
I try to create GameObject from Resources, it pass.
and if 3D model's GameObject is in the scene, and the scene was build in .ipa, it pass, too.
.
it seems like it only crashes when creates a GameObject (or scene) from AssetBundle.
my Unity version is 5.6.6f2. xCode version is 9.3.
Can anyone tell me how to solve this? it bothers me for weeks.
Thanks!
Your answer
Follow this Question
Related Questions
Animator pushes my mesh 100 meters away, on iOS build only 1 Answer
On Demand Resources downloads data but can't access to it. 0 Answers
No character only blue mesh? 1 Answer
Terrain detail mesh not rendering 1 Answer
Vertex coordinates of mesh imported from Blender as fbx are all equal to 0,0,0? 0 Answers