Create an editor script containing this:
using UnityEditor;
public class FBXScaleFix : AssetPostprocessor
{
public void OnPreprocessModel()
{
ModelImporter modelImporter = (ModelImporter) assetImporter;
modelImporter.generateSecondaryUV = true;
}
}
and place it in your "Editor" folder within your project directory. Then reimport all your assets. They should now have "Generate Lightmap UVs" option enabled.
↧