Quantcast
Channel: Questions in topic: "assetbundles"
Viewing all articles
Browse latest Browse all 312

Crash when load scene with mesh from assetbundle on iOS devices

$
0
0
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!

Viewing all articles
Browse latest Browse all 312

Trending Articles