I am trying to make a voxel modeler. I am able to save the object the user creates by parenting all the blocks to a single object then save as a prefab using PrefabUtility. The problem is Prefab Utility fails when trying to Build into an .exe due to its namespace. Is there another way to export the prefab?
I am aware there is an fbx exporter but is there a way to access its functionality via C# during runtime?
Hi, I don’t think there is any build in tools to help you save meshes in a build. Maybe something like this can help you?
MeshSerializer - MeshSerializer - Pastebin.com
Thank you for the response but looking through the code not clear how it activates. I am not seeing an overarching function to call or what calls it.
Best of my knowledge, Asset Forge was built on Unity so that was the type of application I was looking to build but more simplistic like MagicaVoxel (although I think that was made with Godot).
I do appreciate that you responded though. Have a good day.