-
Hi. I'm trying to pack gltf scenes into assetbundles programmatically. Unfotunatelly, I ran into a problem: I can't find a way to create correct prefabs from gltf models. I have very simple pipeline:
But there is a problem. All prefabs are creating without materials, meshes, animations ect. Is there any right way to create prefab with scripts that will save all attached objects? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @IvLaptev , Do you import/instantiate in play mode? If so, an alternative would be to just copy your glTFs into the Assets folder, which performs a design-time import and creates prefabs. Regards |
Beta Was this translation helpful? Give feedback.
Hi @IvLaptev ,
Do you import/instantiate in play mode?
If so, an alternative would be to just copy your glTFs into the Assets folder, which performs a design-time import and creates prefabs.
Regards