Loading .obj into Unity - Exporting the .obj correctly

Im using the ObjLoader (http://wiki.unity3d.com/index.php?title=ObjImporter) to import .obj models. This works fine but only for some downloaded .objs. Whenever I create them myself with Cinema4D it can’t be loaded. Also, whatever I do, the materials are lost.

  • What’s the correct way to save/export my .obj?
  • How do I accomplish that? (There doesn’t seem to be an option in C4D, maybe u need an external program?)

Solved. Cinema 4D simply doesn’t export objs correctly. Also an UV map is needed. The code works.