Forum Discussion
Gltf Runtime Loading issue in Unity Meshtoolkit
Thanks for the Response CameronMicka I have used GLTF Loader( Third Party Plugin for Unity) to import in unity. So that it will support in Unity Edit Time. And also I have a Question, Does Mesh Toolkit Support .fbx files in runtime? So that I will try to convert my .GLB files to .fbx files and give a try.
Glad you have your glTF files loading at edit time. To answer your question around runtime loading of 3D models (.fbx, .glb, etc.) Mesh does not currently support this. But I will make sure to share this feedback!
- RajeshDev24Nov 12, 2024Copper Contributor
thanks for response ok , now my question is we have few prefabs in the project how can i allow the user to pick prefabs from the collections and place it in the environment ? any sample project you can refer ?
- CameronMickaNov 13, 2024
Microsoft
Good question, at the moment you can't instantiate objects at runtime (unless you are using cloud scripting) but you the recommend pattern with visual scripting is to create a "pool" of objects in the scene that are initially disabled. Then you enable and transform the object to the desired location after the user presses a button or other interaction with your scene.
- CameronMickaNov 13, 2024
Microsoft
Good question, at the moment you can't instantiate objects at runtime (unless you are using cloud scripting) but you the recommend pattern with visual scripting is to create a "pool" of objects in the scene that are initially disabled. Then you enable and transform the object to the desired location after the user presses a button or other interaction with your scene.