Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles

simonwittber

4
Posts
1
Topics
A member registered Sep 21, 2017

Recent community posts

This is a bit more customised, it has some caveats, but will reduce imported models to 1 draw call. Uses an object space noise shader in place of AF textures.
https://github.com/simonwittber/AssetForgePostProcessor

I've just fixed the UV combining but still need to work out how to combine the normals and preserve the soft/hard edges.

I've also got an idea for another importer, which will do the same things, but also convert materials into vertex colour values, so that a shader can then use those values in a single material. This would reduce any model from AssetForge to a single draw call, at the expense of some extra configuration inside Unity.

I've created an asset post processor for Unity,  which optimises models created with Asset Forge. The number of draw calls is greatly reduced, and the model is modified so that it will work with dynamic and static batching. Using some very simple examples, I reduced a 28 draw call model to 4 draw calls. 

https://gist.github.com/simonwittber/61fc0f7572116f85a139aaa5359d78f9

This happened to me as well. Solved by adding a default material to my meshes.

I'm getting same issue, and this could be the source of the problem. In the Player log I get this stack trace.

DirectoryNotFoundException: Directory '/private/var/folders/14/5j4jtjbd767d6rpl1nk05vdm0000gp/T/AppTranslocation/1A217DC0-8197-4AB1-A430-382C54AE881E/d/Collections' not found.
  at System.IO.Directory.GetFileSystemEntries (System.String path, System.String searchPattern, FileAttributes mask, FileAttributes attrs) [0x00000] in <filename unknown>:0 
  at System.IO.Directory.GetDirectories (System.String path, System.String searchPattern) [0x00000] in <filename unknown>:0 
  at System.IO.DirectoryInfo.GetDirectories (System.String searchPattern) [0x00000] in <filename unknown>:0 
  at System.IO.DirectoryInfo.GetDirectories () [0x00000] in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) System.IO.DirectoryInfo:GetDirectories ()
  at toolbox.Start () [0x00000] in <filename unknown>:0