FastObjImporter

Author
Marc Kusters (Nighteyes)

Description
This is a basic fast ObjImporter specifically made for importing Blender obj files at runtime, it loads vertices, faces, normals and the primary uv map. I created this script because the current ObjImporter on this wiki was too slow to use during runtime. This importer is about 125 times faster, on a i5-4670k it imports an uv-sphere with 13k (Blender) vertices in 0.18s. Feel free to use this script in your projects (however, don't solely sell this in the asset store), but please give the appropriate credits.

Note 1: This script does not fix rotation, so when exporting a file with Blender set Z = Forward, Y = Up. Note 2 : This script does not optimize vertex count, also it does not check if edges are smooth or hard.

Credits
Faster int parser from Faster float parser from